2024-01-15 15:06:25 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Novinky{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="title">Novinky</h1>
|
|
|
|
{% for newspost in news %}
|
|
|
|
<div class="news box">
|
|
|
|
<h2 class="headline">
|
|
|
|
<span>{{ newspost.title }}</span>
|
2024-02-18 19:25:38 +00:00
|
|
|
<span class="float-r">
|
|
|
|
{{ newspost.author }} - <span title="{{ newspost.created|czech_humantime }}">{{ newspost.created|czech_datetime }}</span>
|
|
|
|
</span>
|
2024-01-15 15:06:25 +00:00
|
|
|
</h2>
|
|
|
|
<hr>
|
|
|
|
<div class="post-content">{{ newspost.content|safe }}</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|