diff --git a/ui/src/partials/edit-this-page.hbs b/ui/src/partials/edit-this-page.hbs index 27946f4..4be7628 100644 --- a/ui/src/partials/edit-this-page.hbs +++ b/ui/src/partials/edit-this-page.hbs @@ -1,5 +1,5 @@ -{{#if (and page.fileUri (not env.CI))}} -
-{{else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}} +{{!#if (and page.fileUri (not env.CI))}} +{{!}} +{{!else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}} -{{/if}} +{{!/if}}