1 {% extends "base.html" %}
 
   5 <link rel="alternate" type="application/atom+xml" title="iDunno's Blog - Atom Feed" href="{{ BLOG_FEED_ROOT }}" />
 
   6 <link rel="alternate" type="application/rss+xml" title="iDunno's Blog - RSS Feed" href="{{ BLOG_FEED_ROOT }}rss/" />
 
  11         {% for entry in entries %}
 
  12             <h1>{{ entry.title|escape }}</h1>
 
  13             <div class="blogentry">
 
  14             {{ entry.content|restructuredtext }}
 
  16             <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in 
 
  17                 {% for section in entry.sections.all %}
 
  18                     {% if forloop.first %}
 
  19                         <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>{% if not forloop.last %}, {% endif %}
 
  22                             and <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>
 
  24                             <a href="{{ section.get_abolute_url }}">{{ section.title }}</a>
 
  28                 | <a href="{{ entry.get_absolute_url }}">permalink</a></p>
 
  30         {% if paginated and has_more_than_one_page %}
 
  31             <p class="paginator">Pages: 
 
  33                 <a href="?page={{ prev }}">Previous</a> |
 
  35             {% for paginator_page in pages %}
 
  36                 {% if forloop.first %}
 
  40                 {% ifequal paginator_page page %}
 
  43                     <a href="?page={{ paginator_page }}">{{ paginator_page }}</a>
 
  47                 | <a href="?page={{ next }}">Next</a>
 
  52         <p>We have no blog entries - that sucks!</p>