ui: only render extra content on richmedia class (#743)

This commit is contained in:
panda authored and GitHub committed 2024-03-08 17:17:36 +08:00
1 parent 1b8f209429
commit 48e8c7b3fd
16 files changed
+21 -21

No files matched your search

@@ -97,7 +97,7 @@
{% if not udoc.bio %}
{{ nothing.render("This person is lazy and didn't write anything.") }}
{% else %}
<div class="section__body typo">
<div class="section__body typo richmedia">
{{ udoc.bio|default('')|markdown|safe }}
</div>
{% endif %}