1
0
web-semprace/templates/news.html

14 lines
388 B
HTML

{% 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 %}