Skip to content

Commit 9dfec88

Browse files
committed
turn off edit this page partial template
1 parent 0efe215 commit 9dfec88

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/partials/toolbar.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@
55
{{/with}}
66
{{> breadcrumbs}}
77
{{> page-versions}}
8+
{{!-- Please uncomment this functionality if it is needed (edit page link in top right corner) --}}
9+
{{!-- {{#if (and page.fileUri (not env.CI))}}
10+
<div class="edit-this-page"><a href="{{page.fileUri}}">Edit this Page</a></div>
11+
{{else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
12+
<div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
13+
{{/if}} --}}
814
</div>

0 commit comments

Comments
 (0)