{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% from 'macro.html' import comment_html with context %} {% block content %}
{{- breadcrumbs([[url_for('news.show', name=newsitem.name), newsitem.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, 'newsitem', newsitem.id, parent_comment.local_id if parent_comment else None, preview_html=preview_html) }}
{{- breadcrumbs([[url_for('news.show', name=newsitem.name), newsitem.title]]) }}
{% endblock %}