{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% from 'macro.html' import comment_html with context %} {% block content %}
{{- breadcrumbs([[url_for('story.view', pk=story.id), story.title]]) }}

{{ page_title }}

{% if edit -%}
{{ comment_html(comment, with_controls=False, with_vote=False) }}
{%- elif parent_comment -%}
{{ comment_html(parent_comment, with_controls=False, with_vote=False) }}
{%- endif %}
{% from 'macro.html' import comment_form_content with context %} {{ comment_form_content(form, 'story', story.id, parent_comment.local_id if parent_comment else None, preview_html=preview_html) }}
{{- breadcrumbs([[url_for('story.view', pk=story.id), story.title]]) }}
{% endblock %}