{# 评论区:数据(权限判断、展示文本、样式类)由模块准备成 comment_rows,
模板只负责排版。author / reply_to 是纯文本(Jinja 自动转义),
content 是模块产出的 Markup(已转义并保留换行)。 #}
{{ t('comment_none') }} {{ reply_to_message }}{{ t('comment_comments', total=comment_total) }}
{% if comment_rows %}
{{ comment_form.title }}
{% if reply_to_message %}
{{ t('comment_login_hint') }}
{% endif %}
{%- if row.reply_to %} {% endif -%} {{ row.content }}{% if row.is_deleted %}{{ t('comment_redacted') }}{% endif %}