{% extends "community/blog_list.html" %} {% block title %}Weblog | {{ object.headline|escape }}{% endblock %} {% block content %} {% load markup %}

{{ object.headline }}

Posted by {{ object.author }} on {{ object.pub_date|date:"F j, Y" }}

{{ object.body|markdown:"safe" }}

{% load comments %} {% get_comment_list for blog.blogitem object.id as comment_list %}

Comments

{% if comment_list %} {% for comment in comment_list %}
{{ comment.name }} (on {{ comment.submit_date|date:"F j, Y, H:i:s" }})
{{ comment.comment|markdown:"safe" }}
{% endfor %} {% else %}

No one has posted any comments yet. Perhaps you'd like to be the first?

{% endif %}

Leave a comment

{% if user.is_authenticated %} {% render_comment_form for blog.blogitem object.id %} {% else %}

You must be logged in to post comments.

{% endif %}
{% endblock %}