Render content list title properly

This commit is contained in:
Helen Chong 2024-11-04 01:33:36 +08:00
parent ca49ff2d22
commit 1f103f35ca
1 changed files with 1 additions and 1 deletions

View File

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