From b3d2769ba9c820bfd65fcf382ebf48cf70b29633 Mon Sep 17 00:00:00 2001 From: maia arson crimew Date: Tue, 9 May 2023 14:03:23 +0200 Subject: [PATCH] display article change dates --- src/_includes/layouts/post.njk | 3 +++ src/static/style.css | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/_includes/layouts/post.njk b/src/_includes/layouts/post.njk index 73bb41e..5f209f2 100644 --- a/src/_includes/layouts/post.njk +++ b/src/_includes/layouts/post.njk @@ -10,6 +10,9 @@ subhead: blog {% endif %}
+ {% if changed_date %} + (updated ) + {% endif %} by {{ site.name }} {% if tags %} in diff --git a/src/static/style.css b/src/static/style.css index 8cd0bd7..363d605 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -54,7 +54,8 @@ footer, } time, -.author { +.author, +.updated { font-weight: bold; }