feat(pages+content): semantic html

This commit is contained in:
Fabrice Mouhartem 2024-10-16 13:00:48 +02:00
parent bd33f68440
commit 8392e377df
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,8 @@
{% endblock %}
{% block main %}
<article>
<h1>{{ page.title | safe }}</h1>
<p>{{ page.content | safe }}</p>
</article>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "base.html" %}
{% block main %}
<main>
{{ section.content | markdown(inline = true) | safe }}
<div class="pages">
{% for sub in section.pages %}
@ -12,4 +13,5 @@
</article>
{% endfor %}
</div>
</main>
{% endblock %}