afg-website/templates/section.html

26 lines
655 B
HTML
Raw Normal View History

2024-05-11 13:51:37 +02:00
{% 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 %}