feat(pages+content): semantic html
This commit is contained in:
parent
bd33f68440
commit
8392e377df
@ -9,6 +9,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<article>
|
||||
<h1>{{ page.title | safe }}</h1>
|
||||
<p>{{ page.content | safe }}</p>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user