{% extends "layout.html" %} {% from "_comment.html" import render_comments, render_comment_editor %} {% from "_entry.html" import render_entry_related %} {% block title %}{{ entry.title|e }}{% endblock %} {% block contents %}

{{ entry.title|e }}

{% trans author='%s' % (url_for(entry.author), entry.author.display_name|e), pub_date=entry.pub_date|datetimeformat|e -%} written by {{ author }}, on {{ pub_date }}. {%- endtrans %}

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

{{ _("Comments") }}

{{ render_comments(entry) }} {%- endif %} {%- if entry.comments_enabled %}

{{ _("Leave a Reply") }}

{{ render_comment_editor(entry, form) }} {%- endif %} {% endblock %}