1 {% extends "base.html" %}
5 {{ entry.title|escape }}
10 {% for entry in entries %}
11 <h1>{{ entry.title|escape }}</h1>
12 <div class="blogentry">
13 {{ entry.content|restructuredtext }}
15 <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in
16 {% for section in entry.sections.all %}
17 {% if forloop.first %}
18 <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>{% if not forloop.last %}, {% endif %}
21 and <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>
23 <a href="{{ section.get_abolute_url }}">{{ section.title }}</a>
27 <a href="{{ entry.get_absolute_url }}">permalink</a></p>
29 {% if paginated and has_more_than_one_page %}
30 <p class="paginator">Pages:
32 <a href="?page={{ prev }}">Previous</a> |
34 {% for paginator_page in pages %}
35 {% if forloop.first %}
39 {% ifequal paginator_page page %}
42 <a href="?page={{ paginator_page }}">{{ paginator_page }}</a>
46 | <a href="?page={{ next }}">Next</a>
51 <p>We have no blog entries - that sucks!</p>