add 'edit this page' button; closes #1004

This commit is contained in:
Dean Attali 2022-07-07 18:00:37 +00:00
parent f2c2a4b810
commit 33032c4895
3 changed files with 10 additions and 0 deletions

View file

@ -30,6 +30,12 @@
<a href="http://{{- site.matomo.uri -}}/index.php?module=CoreAdminHome&action=optOut" target="_blank" class="text_muted">Do-not-Track</a>
{% endif %}
{% endif%}
{% if site.edit_page_button and site.github.repository_url %}
&nbsp;&bull;&nbsp;
<a title="Edit this page on GitHub" href="{{ site.github.repository_url }}/edit/{{ site.github.source.branch }}/{{ page.path }}" class="text_muted">Edit page</a>
{% endif%}
</p>
{% unless site.remove-ads %}<p class="theme-by text-muted">
Powered by