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> </a>
{% endif %} {% endif %}
{% if author.bio %} {% if author.bio %}
<br>{{ author.bio }} <span class="authorBio">{{ author.bio | markdownify | safe }}</span>
{% endif %} {% endif %}
</p> </p>
{% else %} {% else %}
@@ -44,7 +44,7 @@
</a> </a>
{% endif %} {% endif %}
{% if metadata.author.bio %} {% if metadata.author.bio %}
<br>{{ metadata.author.bio }} <span class="authorBio">{{ metadata.author.bio | markdownify | safe }}</span>
{% endif %} {% endif %}
{% endif %} {% endif %}
</p> </p>
+5
View File
@@ -729,6 +729,11 @@ article > .post-image,
font-size: var(--step--2); font-size: var(--step--2);
font-variation-settings: "wght" 400; font-variation-settings: "wght" 400;
line-height: calc(var(--step--2) * 1.5); line-height: calc(var(--step--2) * 1.5);
& .authorBio a {
text-decoration: underline;
text-decoration-color: var(--contrast-color);
transition: var(--transition-normal);
}
} }
} }