projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
941a082
)
use fileUri for edit page link if available
author
Dan Allen
<dan@opendevise.com>
Tue, 29 Oct 2019 02:04:00 +0000
(20:04 -0600)
committer
Dan Allen
<dan@opendevise.com>
Tue, 29 Oct 2019 02:04:00 +0000
(20:04 -0600)
src/partials/toolbar.hbs
patch
|
blob
|
history
diff --git
a/src/partials/toolbar.hbs
b/src/partials/toolbar.hbs
index
251a51a
..
a285681
100644
(file)
--- a/
src/partials/toolbar.hbs
+++ b/
src/partials/toolbar.hbs
@@
-5,7
+5,7
@@
{{/if}}
{{> breadcrumbs}}
{{> page-versions}}
- {{#if (
and page.editUrl (not page.origin.private
))}}
- <div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
+ {{#if (
or page.fileUri (and page.editUrl (not page.origin.private)
))}}
+ <div class="edit-this-page"><a href="{{
or page.fileUri
page.editUrl}}">Edit this Page</a></div>
{{/if}}
</div>