{% set page_title = ('Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number']) %} {% import "comments.html" as comments with context %} {% if not slim %} {% extends "base.html" %} {% block style %} .comments-area{ margin: auto; width:640px; } {% endblock style %} {% endif %} {% block main %}
{% if not comments_info['is_replies'] %}
{{ comments_info['video_title'] }}

Comments page {{ comments_info['page_number'] }}

Sorted by {{ comments_info['sort_text'] }}
{% endif %} {% if not comments_info['is_replies'] %} {% endif %}
{% for comment in comments_info['comments'] %} {{ comments.render_comment(comment, comments_info['include_avatars'], slim) }} {% endfor %}
{% if 'more_comments_url' is in comments_info %} More comments {% endif %}
{% if settings.use_comments_js %} {% endif %} {% endblock main %}