{% extends "page.html" %}

{% block title %}{{ config.title }} :: {{ section.title }}{% endblock title %}</title>


{% block content %}
<main>
    {% for item in section.pages %}
    <h1>{{item.title}} - {{item.date | date(format="%d.%m.%Y")}}</h1>
    {{item.content | safe}}

    {%- if page.extra.masto_instance -%}
    {% include "masto-comments.html" %}
    {%- endif -%}
    <small>
        Published: {{item.date | date(format="%d.%m.%Y %H:%M")}}
        {% if item.updated %}
        Updated: {{item.updated | date(format="%d.%m.%Y %H:%M")}}
        {% endif %}
    </small>
    <hr></hr>
    {% endfor %}
    <br/>
</main>
{% endblock content %}