{% extends "index.html" %} {% block content %} {% if object_list %} {% for new in object_list %}

{{ new.news_title }}

{{ new.news_text }}
{{ new.news_date|truncatewords:"1" }} | Komentarze: {{ new.newscomments_set.count }}

{% endfor %} {% if has_previous %}
Nowsze Wiadomości
{% endif %} {% if has_next %}
Starsze Wiadomości
{% endif %} {% else %} Brak wiadomości {% endif %} {% endblock %}