added: news, nav, footer
This commit is contained in:
14
templates/news.html
Normal file
14
templates/news.html
Normal 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 %}
|
Reference in New Issue
Block a user