oops, adds edit_link_text to layout

This commit is contained in:
Matthew Wang 2019-11-13 23:06:23 -08:00
parent 9c4622d75f
commit 2c94928917
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ show_last_edit_time: true
last_edit_time_format: "%b %e %Y at %I:%M %p"
show_gh_edit_link: true
gh_edit_repository: "https://github.com/pmarsceill/just-the-docs"
edit_link_text: "Edit this page on GitHub"
edit_link_text: "Edit this page on GitHub."
# Color scheme currently only supports "dark" or nil (default)
color_scheme: nil

View File

@ -96,7 +96,7 @@ layout: table_wrappers
{% endif %}
{% if site.show_gh_edit_link and site.edit_link_text %}
<p class="text-small text-grey-dk-000 mb-0">
<a href="{{ site.gh_edit_repository }}/tree/master/{{ page.path }}">Edit this page on GitHub.</a>
<a href="{{ site.gh_edit_repository }}/tree/master/{{ page.path }}">{{ site.edit_link_text }}</a>
</p>
{% endif %}
{% if site.footer_content != nil %}