render content on landing page

This commit is contained in:
Jan Christian Gr??nhage 2020-03-13 23:21:22 +01:00 committed by Jan Christian Grünhage
parent 2876aabd9e
commit d66fd46027
1 changed files with 9 additions and 0 deletions

View File

@ -47,10 +47,18 @@
<h1>{{ config.extra.after_dark_title }}</h1>
</header>
{% endif %}
{% if section.content %}
<div>
{{ section.content | safe }}
</div>
{% endif %}
{% for page in paginator.pages %}
{{ post_macros::page_in_list(page=page) }}
{% endfor %}
{% if paginator.number_pagers > 1 %}
<nav>
<p>
{% if paginator.previous %}
@ -62,6 +70,7 @@
{% endif %}
</p>
</nav>
{% endif %}
</main>
{% endblock content %}
</body>