Tweak articleAuthor include: process bio as markdown
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user