From ee430ccbd4d415902b4c38c4beabe27153246e8c Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 19 Apr 2024 06:41:51 +0800 Subject: [PATCH] Remove article layout --- src/_includes/main/article.njk | 63 ---------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 src/_includes/main/article.njk diff --git a/src/_includes/main/article.njk b/src/_includes/main/article.njk deleted file mode 100644 index 9298e07a..00000000 --- a/src/_includes/main/article.njk +++ /dev/null @@ -1,63 +0,0 @@ ---- -layout: main/base -metadata: - type: article ---- - -
- - -

{{ 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 }}

-
-
- -
- {% if toc %} - {% include "global/toc.njk" %} - {% endif %} - -
- {{ content | safe }} -
- - {% if tags and tags.includes("articles") or tags and tags.includes("posts") %} - {% include "main/content-nav.njk" %} - {% endif %} -
- - \ No newline at end of file