From df8a0f7dc43f0499b7fcf042572216eea633c584 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 28 Oct 2019 20:04:00 -0600 Subject: [PATCH] use fileUri for edit page link if available --- src/partials/toolbar.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/partials/toolbar.hbs b/src/partials/toolbar.hbs index 251a51a..a285681 100644 --- 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))}} -
Edit this Page
+ {{#if (or page.fileUri (and page.editUrl (not page.origin.private)))}} +
Edit this Page
{{/if}} -- 2.11.0