implements conditional or on footer

This commit is contained in:
Matthew Wang 2019-09-14 17:54:27 -07:00
parent e917ea1f10
commit 9c4622d75f
1 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,7 @@ layout: table_wrappers
</ul>
{% endif %}
{% if site.footer_content != nil %}
{% if site.footer_content != nil or site.show_last_edit_time or site.show_gh_edit_link %}
<hr>
<footer role="contentinfo">
{% 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>
</p>
{% endif %}
{% if site.footer_content != nil %}
<p class="text-small text-grey-dk-000 mb-0">{{ site.footer_content }}</p>
{% endif %}
</footer>
{% endif %}