1 {% extends "base.html" %}
6 <link rel="alternate" type="application/atom+xml" title="iDunno's Blog - Atom Feed" href="{{ BLOG_FEED_ROOT }}/blog/" />
7 <link rel="alternate" type="application/rss+xml" title="iDunno's Blog - RSS Feed" href="{{ BLOG_FEED_ROOT }}/blog/rss/" />
12 {% for entry in entries %}
13 <h1>{{ entry.title|escape }}</h1>
14 <div class="blogentry">
15 {{ entry.content|restructuredtext }}
17 <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in
18 {% for section in entry.sections.all %}
19 {% if forloop.first %}
20 <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>{% if not forloop.last %}, {% endif %}
23 and <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>
25 <a href="{{ section.get_abolute_url }}">{{ section.title }}</a>
29 {% get_comment_count for entry as comment_count %}
30 | <a href="{{ entry.get_absolute_url }}">permalink</a> | <a href="{{ entry.get_absolute_url }}#comments">Comments</a>: {{ comment_count }}</p>
32 {% if paginated and has_more_than_one_page %}
33 <p class="paginator">Pages:
35 <a href="?page={{ prev }}">Previous</a> |
37 {% for paginator_page in pages %}
38 {% if forloop.first %}
42 {% ifequal paginator_page page %}
45 <a href="?page={{ paginator_page }}">{{ paginator_page }}</a>
49 | <a href="?page={{ next }}">Next</a>
54 <p>We have no blog entries - that sucks!</p>