{% usemacro blog_back_to_all %}
-
{% usemacro blog_post %}
{% if messages %} {% endif %}
{% extends 'base.html' %} {% load macros %} {% loadmacros richtext_blog/blog-macros.html %} {# Javascript (jquery) to allow the page to be auto-scrolled to the form or comments section if there are user messages there #} {% block page_javascript %} {% endblock %} {% block page_css %} {% endblock %} {% block title %} {{ SITE.name }} — {{ post.title }} {% endblock %} {# clear default messages section since on this template we want them appearing at the bottom of the page near the comments #} {% block messages_section %} {% endblock %} {% block content %}
{{ comments|length }} Comments
{% if comments %}{% for comment in comments %}-
{% endfor %}
{% endif %} {% if post.comments_closed %}{% if comment.author %}{{ comment.author }}{% else %}Anonymous{% endif %}
— {{ comment.created }}Comments are closed
{% else %}Leave a comment
{% endif %}