Startet to add some content

This commit is contained in:
Sebastian 2024-05-11 13:51:37 +02:00
commit 285d5e2147
160 changed files with 4419 additions and 0 deletions

25
templates/section.html Normal file
View file

@ -0,0 +1,25 @@
{% 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 %}