home.html
{% extends "index.html" %}
{% block content %}
<h2 class="loud">AktualnoĆci</h2>
{% for news in news %}
<div class="quiet right">{{news.created|date:"d-m-Y"}}</div>
<h3>{{news.title}}</h3>
<p>
{{news.content|safe}}
</p>
{% if not forloop.last %}
<hr />
{% endif %}
{% endfor %}
{% endblock %}