diff --git a/src/_includes/main/article.njk b/src/_includes/main/article.njk new file mode 100644 index 00000000..005556f1 --- /dev/null +++ b/src/_includes/main/article.njk @@ -0,0 +1,55 @@ +--- +layout: main/base +metadata: + type: article +eleventyComputed: + title: "{{ articleTitle }} | Articles" +--- + +{% if toc %} + + +{% endif %} + +
+

{{ articleTitle }}

+
+

Posted on {{ date | niceDate }} by {{ sitemeta.siteAuthor.name }}

+ {% if updated %} +

Updated on {{ updated | niceDate }}

+ {% endif %} +

{{ content | emojiReadTime }}

+
+ + {{ content | safe }} +
+ + \ No newline at end of file