Render content list title properly

This commit is contained in:
Leilukin 2024-11-04 01:33:36 +08:00 committed by Helen Chong
parent b6d84ab695
commit 9acbbcac32

View File

@ -3,7 +3,7 @@
<li>
<p class="item-list__title">
<a href="{{ content.url }}">
{% if content.data.title %}{{ content.data.title }}
{% if content.data.title %}{{ content.data.title | safe }}
{% else %}
<code>{{ content.url }}</code>
{% endif %}