{{ story.title }}
{% if show_comments %}
{% else %}
{% endif %}
{% if not show_comments and story.text %}
{{ story.text | safe }}
{% elif show_comments %}
{% macro render_comment(comment, level) %}
{% if comment.author == story.author %}[OP] {% endif %}{{ comment.author or '[Deleted]' }} |
{% endmacro %}
{% endif %}
{{ story.title }}
{% if show_comments %}{% if comment.author == story.author %}[OP] {% endif %}{{ comment.author or '[Deleted]' }} | {{ comment.date | fromnow }}
[Empty / deleted comment]
' }}{% for reply in comment.comments %} {{ render_comment(reply, level + 1) }} {% endfor %}
{% endif %}{% for comment in story.comments %}{{ render_comment(comment, 0) }}{% endfor %}
{% endif %}