2016-08-10 00:38:10 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block header %}Neuigkeiten - Übersicht {% endblock %}
|
|
|
|
{% block headline %}Neuigkeiten{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% autoescape off %}
|
|
|
|
{% if blogentries %}
|
|
|
|
{% for blogentry in blogentries %}
|
|
|
|
|
2016-08-16 15:13:42 +02:00
|
|
|
<h1>{{ blogentry.header }}</h1>
|
|
|
|
<small>posted on: {{blogentry.date}} by {{blogentry.user.username}}</small>
|
|
|
|
<p>{{blogentry.intro|linebreaks}}</p><a href="{% url 'detail' blogentry.id %}">Read more...</a><br/>
|
2016-08-10 00:38:10 +02:00
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2016-08-16 15:13:42 +02:00
|
|
|
<p>No entries are available.</p>
|
2016-08-10 00:38:10 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endautoescape %}
|
|
|
|
{% endblock %}
|
|
|
|
|