Migrated from site.source to site.gh_edit_source

This commit is contained in:
Phillip Cutter
2020-08-25 18:08:31 -07:00
parent 55f80acb4f
commit cdfad69c5b
3 changed files with 4 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ layout: table_wrappers
site.gh_edit_view_mode
%}
<p class="text-small text-grey-dk-000 mb-0">
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}/{{ site.source }}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
</p>
{% endif %}
</div>