From 5c64387d00e8f7f3eaa4b08d17e01c7809dad6e4 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Fri, 28 Aug 2026 18:33:59 -0500 Subject: [PATCH] Tweak articleAuthor include: process bio as markdown --- _includes/articleAuthor.njk | 4 ++-- public/css/index.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/articleAuthor.njk b/_includes/articleAuthor.njk index 0f0337e..3005bd7 100644 --- a/_includes/articleAuthor.njk +++ b/_includes/articleAuthor.njk @@ -20,7 +20,7 @@ {% endif %} {% if author.bio %} -
{{ author.bio }} + {{ author.bio | markdownify | safe }} {% endif %}

{% else %} @@ -44,7 +44,7 @@ {% endif %} {% if metadata.author.bio %} -
{{ metadata.author.bio }} + {{ metadata.author.bio | markdownify | safe }} {% endif %} {% endif %}

diff --git a/public/css/index.css b/public/css/index.css index 1b145f5..3a37655 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -729,6 +729,11 @@ article > .post-image, font-size: var(--step--2); font-variation-settings: "wght" 400; line-height: calc(var(--step--2) * 1.5); + & .authorBio a { + text-decoration: underline; + text-decoration-color: var(--contrast-color); + transition: var(--transition-normal); + } } }