✨ feat: add 'Last updated' extra tag
This commit is contained in:
parent
eb60527bfb
commit
ed47f2580b
@ -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…
x
Reference in New Issue
Block a user