{{ title }}
-
- {%- from 'postmeta.macro.njk' import postmeta %}
- {{ postmeta({ date: page.date, author: author, content: content}) }}
- {% if tags.length > 0 %}
-
+-
- {% for tag in tags %}
-
- - {% lucide "tag", {"size": "20"} %} - {{ tag }} - - {%- endfor %} -
+
+ {{ title }}
+
+ {%- from 'postmeta.macro.njk' import postmeta %}
+ {{ postmeta({ date: page.date, author: author, content: content, center: true }) }}
+ {% if tags.length > 0 %}
+
+ -
+ {% for tag in tags %}
+
- + {% lucide "tag", { "size": "20" } %} + {{ tag }} + + {%- endfor %} +
{{ title }}
Everything I have written, from newest to oldest.
diff --git a/src/posts.njk b/src/posts.njk index dd75e9e..a217998 100644 --- a/src/posts.njk +++ b/src/posts.njk @@ -12,7 +12,7 @@ pagination: --- {% for post in blogposts %} -{{ post.data.title }}
{%- from 'postmeta.macro.njk' import postmeta %}
diff --git a/tailwind.config.js b/tailwind.config.js
index 0d2c97f..f5a3ce8 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -2,7 +2,14 @@
export default {
content: ['./src/**/*.{html,md,njk,ejs,pug}'],
theme: {
- extend: {}
+ extend: {
+ gridTemplateRows: {
+ 'article-header': '1fr auto 0'
+ },
+ height: {
+ '128': '32rem'
+ }
+ }
},
plugins: [require('@tailwindcss/typography'),require("tailwindcss-safe-area")]
};