♻️ refactor: use native `updated` field

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

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

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

Loading…
Cancel
Save