feat: add 'Last updated' extra tag

main
Óscar 2 years ago committed by GitHub
commit ca96eeab54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,7 @@
+++ +++
title = "Custom shortcodes" title = "Custom shortcodes"
date = "2023-02-19" date = 2023-02-19
updated = 2023-02-26
[taxonomies] [taxonomies]
tags = ["showcase", "shortcodes"] tags = ["showcase", "shortcodes"]
+++ +++

@ -75,6 +75,7 @@ header {
font-weight: 300; font-weight: 300;
padding-top: 0.7vmin; padding-top: 0.7vmin;
padding-bottom: 3vmin; padding-bottom: 3vmin;
line-height: 1.4rem;
} }
.meta a { .meta a {

@ -28,6 +28,10 @@
</nav> </nav>
{% endif %} {% endif %}
{% if page.updated %}
<br>Last updated on {{ macros_format_date::format_date(date=page.updated) }}
{% endif %}
</div> </div>
</div> </div>

Loading…
Cancel
Save