1 {% extends "base.html" %}
6 {% for entry in entries %}
7 <h1>{{ entry.title|escape }}</h1>
8 <div class="blogentry">
9 {{ entry.content|restructuredtext }}
11 <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in
12 {% for section in entry.sections.all %}
13 {% if forloop.first %}
14 <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>{% if not forloop.last %}, {% endif %}
17 and <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>
19 <a href="{{ section.get_abolute_url }}">{{ section.title }}</a>
23 <a href="{{ entry.get_absolute_url }}">permalink</a></p>
25 {% if paginated and has_more_than_one_page %}
26 <p class="paginator">Pages:
28 <a href="?page={{ prev }}">Previous</a> |
30 {% for paginator_page in pages %}
31 {% if forloop.first %}
35 {% ifequal paginator_page page %}
38 <a href="?page={{ paginator_page }}">{{ paginator_page }}</a>
42 | <a href="?page={{ next }}">Next</a>
47 <p>We have no blog entries - that sucks!</p>