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

View file

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