blob: 728e8476c58c7f5fdaa345eb88a1858ec64f1863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{% extends 'base.html' %}
{% block title %}Neues{% endblock %}
{%block content %}
<h2>Neues</h2>
{% for post in news_list %}
<h3 id="{{ post.slug }}">
<a href="{{ post.get_absolute_url }}">{{ post.date_updated|date }} - {{ post.title }}</a>
</h3>
{% if post.image %}<img src="{{ MEDIA_URL }}{{ post.image }}" width="{{ post.image_width }}" height="{{ post.image_height }}" align="right" />{% endif %}
{{ post.content_html|safe }}
{% endfor %}
{% if is_paginated %}
<p>
{% for page in paginator.page_range %}
<a href="?page={{ page }}">{{ page }}</a>
{% endfor %}
</p>
{% endif %}
{% endblock content %}
|