1
0

added: news, nav, footer

This commit is contained in:
2023-11-19 00:19:59 +01:00
parent 984d8a3d47
commit 136f83f80a
10 changed files with 117 additions and 1 deletions

14
templates/news.html Normal file
View File

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block news %}
<h1>Novinky</h1>
<h2>Co se děje kolem našeho plesu?</h2>
{% for page in section.pages %}
<article>
<p>{{ page.date }}</p>
<p>Autor: {{ page.extra["author"] }}</p>
<h3>{{ page.title }}</h3>
{{ page.content | safe }}
</article>
<hr>
{% endfor %}
{% endblock news %}