From 0f945b22d73c948f35ab055ff88c9900332fb803 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:43:00 +0800 Subject: [PATCH] Add description to article and blog post headers --- src/_includes/global/content.njk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_includes/global/content.njk b/src/_includes/global/content.njk index d4ab8043..251315fd 100644 --- a/src/_includes/global/content.njk +++ b/src/_includes/global/content.njk @@ -17,6 +17,7 @@ {% if isArticle %}
+

{{ desc }}

Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }} {% if updated %} • Last updated on {{ updated | formatDate }}

@@ -102,6 +103,8 @@ padding-left: 0.3em; } + .article__info--desc { margin-bottom: 1em; } + .blog__post--pagination { padding-top: 1em; margin-top: 2.5em;