1 {% extends "base.html" %}
7 <h1>{{ entry.title }}</h1>
8 <div class="blogentry">
9 {{ entry.content|restructuredtext }}
11 <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }}
12 {% if entry.sections.count %}
14 {% for section in entry.sections.all %}
15 {% if forloop.first %}
16 <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>{% if not forloop.last %}, {% endif %}
19 and <a href="{{ section.get_absolute_url }}">{{ section.title }}</a>
21 <a href="{{ section.get_abolute_url }}">{{ section.title }}</a>
26 {% get_comment_count for entry as comment_count %}
27 <a href="{{ entry.get_absolute_url }}">permalink</a> | Comments: {{ comment_count }}
29 {% if comment_count %}
30 <div class="comments">
31 <a name="comments"></a>
32 {% get_comment_list for entry as comment_list %}
33 {% for comment in comment_list %}
35 <h3>{{ comment.user_name }} - {{ comment.submit_date|date:"Y-m-d H:i" }}</h3>
41 <div class="comment_new">
42 {% render_comment_form for entry %}