blob: e53319e59428bbf462f32a92b5889b3c6f9de179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{% extends 'base.html' %}
{%block content %}
<h2>sublab - news</h2>
{% for post in news_list %}
<h3 id="{{ post.slug }}">
<a href="{{ post.get_absolute_url }}">{{ post.date_updated|date }} - {{ post.title }}</a>
</h3>
{{ 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 %}
|