diff --git a/content/shortcodes.md b/content/shortcodes.md index bbc3a58..7cdf550 100644 --- a/content/shortcodes.md +++ b/content/shortcodes.md @@ -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 diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index f0d78e2..e4246da 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -75,6 +75,7 @@ header { font-weight: 300; padding-top: 0.7vmin; padding-bottom: 3vmin; + line-height: 1.4rem; } .meta a { diff --git a/templates/macros/content.html b/templates/macros/content.html index 8e4d4d9..349cf1c 100644 --- a/templates/macros/content.html +++ b/templates/macros/content.html @@ -28,6 +28,10 @@ {% endif %} + {% if page.extra.last_updated %} +
Last updated on {{ macros_format_date::format_date(date=page.extra.last_updated) }} + {% endif %} +