1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-02 16:27:39 -04:00

adds page last modified to footer

This commit is contained in:
Matthew Wang 2019-09-09 19:31:23 -07:00
parent 418cf1d640
commit 7c8ead0bff

View File

@ -83,6 +83,9 @@ layout: table_wrappers
{% if site.footer_content != nil %} {% if site.footer_content != nil %}
<hr> <hr>
<footer role="contentinfo"> <footer role="contentinfo">
{% if page.last_modified_date %}
<p class="text-small text-grey-dk-000 mb-0">Page last modified: {{ page.last_modified_date | date: "%Y-%m-%d %H:%M" }}</p>
{% endif %}
<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>
</footer> </footer>
{% endif %} {% endif %}