Add description to article and blog post headers

This commit is contained in:
Helen Chong 2024-08-17 11:43:00 +08:00
parent 32b55c6056
commit 0f945b22d7
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@
{% if isArticle %}
<div class="article__info">
<p class="article__info--desc">{{ desc }}</p>
<p>Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }}
{% if updated %}
• Last updated on {{ updated | formatDate }}</p>
@ -102,6 +103,8 @@
padding-left: 0.3em;
}
.article__info--desc { margin-bottom: 1em; }
.blog__post--pagination {
padding-top: 1em;
margin-top: 2.5em;