mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-22 02:52:23 -06:00
implements conditional or on footer
This commit is contained in:
parent
e917ea1f10
commit
9c4622d75f
@ -86,7 +86,7 @@ layout: table_wrappers
|
|||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.footer_content != nil %}
|
{% if site.footer_content != nil or site.show_last_edit_time or site.show_gh_edit_link %}
|
||||||
<hr>
|
<hr>
|
||||||
<footer role="contentinfo">
|
<footer role="contentinfo">
|
||||||
{% if site.show_last_edit_time and site.last_edit_time_format and page.last_modified_date %}
|
{% if site.show_last_edit_time and site.last_edit_time_format and page.last_modified_date %}
|
||||||
@ -99,7 +99,9 @@ layout: table_wrappers
|
|||||||
<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 }}">Edit this page on GitHub.</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.footer_content != nil %}
|
||||||
<p class="text-small text-grey-dk-000 mb-0">{{ site.footer_content }}</p>
|
<p class="text-small text-grey-dk-000 mb-0">{{ site.footer_content }}</p>
|
||||||
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user