feat(pages+content): semantic html
This commit is contained in:
parent
bd33f68440
commit
8392e377df
@ -9,6 +9,8 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
<article>
|
||||||
<h1>{{ page.title | safe }}</h1>
|
<h1>{{ page.title | safe }}</h1>
|
||||||
<p>{{ page.content | safe }}</p>
|
<p>{{ page.content | safe }}</p>
|
||||||
|
</article>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
<main>
|
||||||
{{ section.content | markdown(inline = true) | safe }}
|
{{ section.content | markdown(inline = true) | safe }}
|
||||||
<div class="pages">
|
<div class="pages">
|
||||||
{% for sub in section.pages %}
|
{% for sub in section.pages %}
|
||||||
@ -12,4 +13,5 @@
|
|||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user