mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
implements requested branch and edit mode configs
This commit is contained in:
@@ -94,9 +94,16 @@ layout: table_wrappers
|
||||
Page last modified: {{ page.last_modified_date | date: site.last_edit_time_format }}.
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if site.show_gh_edit_link and site.edit_link_text %}
|
||||
{%
|
||||
if
|
||||
site.show_gh_edit_link and
|
||||
site.edit_link_text and
|
||||
site.gh_edit_repository and
|
||||
site.gh_edit_view_mode and
|
||||
site.gh_edit_branch
|
||||
%}
|
||||
<p class="text-small text-grey-dk-000 mb-0">
|
||||
<a href="{{ site.gh_edit_repository }}/tree/master/{{ page.path }}">{{ site.edit_link_text }}</a>
|
||||
<a href="{{ site.gh_edit_repository }}/{{site.gh_edit_view_mode}}/{{site.gh_edit_branch}}/{{ page.path }}">{{ site.edit_link_text }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if site.footer_content != nil %}
|
||||
|
Reference in New Issue
Block a user