diff --git a/content/shortcodes.md b/content/shortcodes.md index 7cdf550..bde4677 100644 --- a/content/shortcodes.md +++ b/content/shortcodes.md @@ -1,6 +1,7 @@ +++ title = "Custom shortcodes" date = 2023-02-19 +updated = 2025-02-26 [taxonomies] tags = ["showcase", "shortcodes"] [extra] diff --git a/templates/macros/content.html b/templates/macros/content.html index 349cf1c..9fd3c94 100644 --- a/templates/macros/content.html +++ b/templates/macros/content.html @@ -28,8 +28,8 @@ {% endif %} - {% if page.extra.last_updated %} -
Last updated on {{ macros_format_date::format_date(date=page.extra.last_updated) }} + {% if page.updated %} +
Last updated on {{ macros_format_date::format_date(date=page.updated) }} {% endif %}