feat: add 'Last updated' extra tag

main
welpo 2 years ago
parent eb60527bfb
commit ed47f2580b
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -1,8 +1,10 @@
+++
title = "Custom shortcodes"
date = "2023-02-19"
date = 2023-02-19
[taxonomies]
tags = ["showcase", "shortcodes"]
[extra]
last_updated = 2023-02-26
+++
## Image shortcodes

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

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

Loading…
Cancel
Save