{% extends "layout.html" %} {% include "_comment.html" %} {% block title %}{{ post.title|e }}{% endblock %} {% block contents %}

{{ post.title|e }}

{% trans "written by" %} {{ post.author.display_name|e }}, on {{ post.pub_date|datetimeformat|e }}.

{% if post.intro %}
{{ post.intro }}
{% endif %}
{{ post.body }}
{%- if post.comments %}

{% trans "Comments" %}

{%- if cfg.use_flat_comments %}
    {%- for comment in post.comments %} {%- if not comment.blocked %}
  1. {{ render_comment(comment) }}
  2. {%- endif %} {%- endfor %}
{%- else %} {%- endif %} {%- endif %} {%- if post.comments_enabled %}

{% trans "Leave a Reply" %}

{{ h.input_field('parent', form.parent, 'hidden') }}
{{ h.input_field('name', form.name) }}
{{ h.input_field('email', form.email) }}
{{ h.input_field('www', form.www) }}
{{ h.textarea('body', form.body) }}
{# used for the reply callback #}
{%- if errors %}

{% trans 'Could not Post Comment' %}

{%- for error in errors %}

{{ error|e }}

{%- endfor %}
{%- endif %}
{%- endif %} {% endblock %}