aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_includes
diff options
context:
space:
mode:
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>