diff --git a/content/shortcodes.md b/content/shortcodes.md index bbc3a58..2bf34ae 100644 --- a/content/shortcodes.md +++ b/content/shortcodes.md @@ -1,6 +1,7 @@ +++ title = "Custom shortcodes" -date = "2023-02-19" +date = 2023-02-19 +updated = 2023-02-26 [taxonomies] tags = ["showcase", "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..9fd3c94 100644 --- a/templates/macros/content.html +++ b/templates/macros/content.html @@ -28,6 +28,10 @@ {% endif %} + {% if page.updated %} +
Last updated on {{ macros_format_date::format_date(date=page.updated) }} + {% endif %} +