Add edit on github link to documentation pages

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-02-03 11:39:36 +01:00
parent fd283ba1fe
commit cb8a8b7bd5
7 changed files with 73 additions and 7 deletions

View File

@@ -205,6 +205,11 @@
<div class="text-center">
<p>All documentation licensed under the <a href="https://creativecommons.org/licenses/by/3.0/us/">Creative Commons Attribution 3.0 Unported license</a>.</p>
<p><a href="https://github.com/nextcloud/documentation/graphs/contributors">See who contributed to our documentation/credits</a>.</p>
{%- if show_source and has_source and sourcename and edit_on_github_url %}
<p>Do you want to help us to improve this document?
<a href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit this page on GitHub') }} <span class="glyphicon glyphicon-pencil"></span></a>
</p>
{%- endif %}
</div>
</div>
</div>