Commit 88ad0bef authored by Dan Allen's avatar Dan Allen

don't show Edit this Page if repository is private

parent 2fc25c6e
......@@ -60,6 +60,8 @@ page:
module: ROOT
home: false
private: false
- content: Quickstart
url: '#'
......@@ -5,7 +5,7 @@
{{> breadcrumbs}}
{{> page-versions}}
{{#if page.editUrl}}
{{#if (and page.editUrl (not page.origin.private))}}
<div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment