projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
357209c
)
honor environment variable (FORCE_SHOW_EDIT_PAGE_LINK) to force edit page link to...
author
Dan Allen
<dan@opendevise.com>
Wed, 18 Mar 2020 21:59:43 +0000
(15:59 -0600)
committer
Dan Allen
<dan@opendevise.com>
Thu, 19 Mar 2020 17:00:01 +0000
(11:00 -0600)
src/partials/toolbar.hbs
patch
|
blob
|
history
diff --git
a/src/partials/toolbar.hbs
b/src/partials/toolbar.hbs
index
f487144
..
4e6f59b
100644
(file)
--- a/
src/partials/toolbar.hbs
+++ b/
src/partials/toolbar.hbs
@@
-7,7
+7,7
@@
{{> page-versions}}
{{#if (and page.fileUri (not env.CI))}}
<div class="edit-this-page"><a href="{{page.fileUri}}">Edit this Page</a></div>
- {{else if (and page.editUrl (
not page.origin.private
))}}
+ {{else if (and page.editUrl (
or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)
))}}
<div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
{{/if}}
</div>