aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_includes
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-05-15 12:08:46 -0500
committerXe Iaso <me@xeiaso.net>2024-05-15 12:08:46 -0500
commitab2fbe45331236ddb4d3cbb2e1bfc3964757ec88 (patch)
treea9006fa1a90a257ea23c178b8ccd70466df40fcb /lume/src/_includes
parente278b21155d792d7172acc15b2137dae7ed0fda1 (diff)
downloadxesite-ab2fbe45331236ddb4d3cbb2e1bfc3964757ec88.tar.xz
xesite-ab2fbe45331236ddb4d3cbb2e1bfc3964757ec88.zip
my kubernetes adventure
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_includes')
-rw-r--r--lume/src/_includes/blog.njk8
1 files changed, 6 insertions, 2 deletions
diff --git a/lume/src/_includes/blog.njk b/lume/src/_includes/blog.njk
index c5e6602..7b2ed30 100644
--- a/lume/src/_includes/blog.njk
+++ b/lume/src/_includes/blog.njk
@@ -3,11 +3,15 @@ layout: base.njk
---
<article class="prose dark:prose-invert max-w-none">
- <h1>{{title}}</h1>
- <p class="text-sm text-fg-3 dark:text-fgDark-3 mb-2">
+ <h1 class="mb-2">{{title}}</h1>
+ <p class="text-sm text-fg-3 dark:text-fgDark-3 my-1">
Published on <time datetime={{date | date("DATE")}}>{{date | date("DATE_US")}}</time>, {{ readingInfo.words }} words, {{ readingInfo.minutes }} minutes to read
</p>
+ {% if desc %}
+ <p class="text-sm font-serif text-fg-3 dark:text-fgDark-3 my-1">{{desc}}</p>
+ {% endif %}
+
{% if patronExclusive %}
<div class="bg-yellow-50 border-l-4 border-yellow-400 py-1 px-4 mb-4">
<p class="text-yellow-700 text-sm font-semibold font-['Inter']">This content is exclusive to my patrons. If you are not a patron, please don't be the reason I need to make a process more complicated than the honor system. This will be made public in the future, once the series is finished.</p>