diff --git a/src/_includes/main/content.njk b/src/_includes/main/content.njk index af35b99b..100b67f4 100644 --- a/src/_includes/main/content.njk +++ b/src/_includes/main/content.njk @@ -3,9 +3,37 @@ layout: main/base ---
-

{{ pageTitle or title }}

- {% if desc %} -

{{ desc }}

+ {% if isArticle %} + + +

{{ articleTitle }}

+
+

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

+ {% endif %} + {% if categories %} +

Categories: + {% for cat in categories %} + {{ cat }}{% if not loop.last %}, {% endif %} + {% endfor %} +

+ {% endif %} +

{{ content | emojiReadTime }}

+
+ {% else %} +

{{ pageTitle or title }}

+ {% if desc %} +

{{ desc }}

+ {% endif %} {% endif %}
@@ -27,4 +55,15 @@ layout: main/base {% if isArticle or title === "Articles" or tags and tags.includes("blog pages") %} {% include "main/content-nav.njk" %} {% endif %} - \ No newline at end of file + + + \ No newline at end of file