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