This commit is contained in:
Daniel Hladek 2020-10-03 09:53:27 +02:00
parent 641453858c
commit b4f879db7c
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
</div>
{% endif %}
{% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
<p>{% include 'partials/git_sync_repo_link_note.html.twig' %}</p>
<div>{% include 'partials/git_sync_repo_link_note.html.twig' %}</dic>
{% endif %}
</section>

View File

@ -19,7 +19,7 @@
{% set git_repo_link_text = page.header.git_sync_repo_link_text %}
{% else %}
{% if theme_var('custom_git_sync_repo_link_text') is empty %}
{% set git_repo_link_text = 'View Content Repository' %}
{% set git_repo_link_text = 'Edit' %}
{% else %}
{% if not presentationslides %}
{% set git_repo_link_text = theme_var('custom_git_sync_repo_link_text') %}