diff --git a/themes/mytheme/templates/README.html.twig b/themes/mytheme/templates/README.html.twig index f626d6b50c..4af88d59bd 100644 --- a/themes/mytheme/templates/README.html.twig +++ b/themes/mytheme/templates/README.html.twig @@ -53,7 +53,7 @@ {% endif %} {% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %} -

{% include 'partials/git_sync_repo_link_note.html.twig' %}

+
{% include 'partials/git_sync_repo_link_note.html.twig' %} {% endif %} diff --git a/themes/mytheme/templates/partials/git_sync_repo_link.html.twig b/themes/mytheme/templates/partials/git_sync_repo_link.html.twig index f0f3e0df9d..8d869eb844 100644 --- a/themes/mytheme/templates/partials/git_sync_repo_link.html.twig +++ b/themes/mytheme/templates/partials/git_sync_repo_link.html.twig @@ -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') %}