Skip to content

Commit be4abee

Browse files
Merge pull request #21 from synthesized-io/tdk/5894/remove-edit-this-page-from-docs-template
[#5894] Remove "edit this page" from template
2 parents 26aa521 + 9dfec88 commit be4abee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/partials/toolbar.hbs

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

0 commit comments

Comments
 (0)