1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 18:46:24 -05: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 %}
<hr>
<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>
</footer>
{% endif %}