Tweak articleAuthor include: process bio as markdown

This commit is contained in:
n_u
2026-08-28 18:33:59 -05:00
parent c8aa4770f0
commit 5c64387d00
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
</a>
{% endif %}
{% if author.bio %}
<br>{{ author.bio }}
<span class="authorBio">{{ author.bio | markdownify | safe }}</span>
{% endif %}
</p>
{% else %}
@@ -44,7 +44,7 @@
</a>
{% endif %}
{% if metadata.author.bio %}
<br>{{ metadata.author.bio }}
<span class="authorBio">{{ metadata.author.bio | markdownify | safe }}</span>
{% endif %}
{% endif %}
</p>
+5
View File
@@ -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);
}
}
}