From: Dan Allen Date: Wed, 18 Mar 2020 21:59:43 +0000 (-0600) Subject: honor environment variable (FORCE_SHOW_EDIT_PAGE_LINK) to force edit page link to... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4011e79a06cb4949f781104feb4c6329752d433c;p=eg-antora.git honor environment variable (FORCE_SHOW_EDIT_PAGE_LINK) to force edit page link to be shown --- diff --git a/src/partials/toolbar.hbs b/src/partials/toolbar.hbs index f487144..4e6f59b 100644 --- a/src/partials/toolbar.hbs +++ b/src/partials/toolbar.hbs @@ -7,7 +7,7 @@ {{> page-versions}} {{#if (and page.fileUri (not env.CI))}}
Edit this Page
- {{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)))}}
Edit this Page
{{/if}}