Fix tags title

This commit is contained in:
Pascal Engélibert 2025-12-25 10:53:07 +01:00
commit bcdc90721f
2 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
<section class="tag-list"> <section class="tag-list">
{% for tag in terms %} {% for tag in terms %}
<a href="{{ tag.path|safe }}">{{ tag.name }}</a> ({{ tag.pages | length }})<br/> <a href="{{ tag.path | safe }}">{{ tag.name | safe }}</a> ({{ tag.pages | length }})<br/>
{% endfor %} {% endfor %}
</section> </section>
{% endblock main %} {% endblock main %}

View file

@ -7,14 +7,14 @@
{% endblock head %} {% endblock head %}
{% block main %} {% block main %}
<h1>{{term.name | safe}}</h1> <h1>{{ term.name | safe }}</h1>
<section class="article-list"> <section class="article-list">
{% for page in term.pages %} {% for page in term.pages %}
<article> <article>
<h2 class="article-list_title"><a href="{{page.permalink|safe}}">{{page.title}}</a></h2> <h2 class="article-list_title"><a href="{{ page.permalink | safe }}">{{ page.title | safe }}</a></h2>
<small>{{page.date}}</small> <small>{{ page.date }}</small>
<p>{{page.description|safe}}</p> <p>{{ page.description | safe }}</p>
</article> </article>
{% endfor %} {% endfor %}
</section> </section>