diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-04-29 20:05:43 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-04-29 20:05:51 -0400 |
| commit | e439120ebafeae693d6668e1c550954884e5b714 (patch) | |
| tree | 98688a9115a9d32dd27a486273c85fe4854edb65 /lume/src/_includes | |
| parent | 2310b445212ec236dc970e40c55e73324dd37fb6 (diff) | |
| download | xesite-e439120ebafeae693d6668e1c550954884e5b714.tar.xz xesite-e439120ebafeae693d6668e1c550954884e5b714.zip | |
add homelab rebuild part 1
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_includes')
| -rw-r--r-- | lume/src/_includes/blog.njk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lume/src/_includes/blog.njk b/lume/src/_includes/blog.njk index 07f3b6d..c5e6602 100644 --- a/lume/src/_includes/blog.njk +++ b/lume/src/_includes/blog.njk @@ -2,14 +2,20 @@ layout: base.njk --- -{{ comp.ads() | safe }} - <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"> Published on <time datetime={{date | date("DATE")}}>{{date | date("DATE_US")}}</time>, {{ readingInfo.words }} words, {{ readingInfo.minutes }} minutes to read </p> + {% 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> + </div> + {% else %} + {{ comp.ads() | safe }} + {% endif %} + {% if hero %} {{ comp.XeblogHero(hero) | safe }} <small class="text-xs text-fg-3 dark:text-fgDark-3 mb-2 mx-auto">{{hero.prompt}} - {{hero.ai}}</small> |
