✨ feat: add 'Last updated' extra tag
This commit is contained in:
parent
eb60527bfb
commit
ed47f2580b
@ -1,8 +1,10 @@
|
|||||||
+++
|
+++
|
||||||
title = "Custom shortcodes"
|
title = "Custom shortcodes"
|
||||||
date = "2023-02-19"
|
date = 2023-02-19
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tags = ["showcase", "shortcodes"]
|
tags = ["showcase", "shortcodes"]
|
||||||
|
[extra]
|
||||||
|
last_updated = 2023-02-26
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Image shortcodes
|
## Image 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.extra.last_updated %}
|
||||||
|
<br>Last updated on {{ macros_format_date::format_date(date=page.extra.last_updated) }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user