{%- include "component/comment/usernote_header.html" -%} {# "level" represents the nested level in this call; always starts at 1 #} {# this is distinct from "comment.level", which is the global depth of this comment #} {% macro single_comment(c, level) %} {%- if render_ctx is not defined -%} {% set render_ctx = 'comments' %} {%- endif -%} {%- set ups = c.upvotes_str(render_ctx) -%} {%- set score = c.score_str(render_ctx) -%} {%- set downs = c.downvotes_str(render_ctx) -%} {% set replies = c.replies(v) %} {%- set is_notification_page = request.path.startswith('/notifications') -%} {% if not c.visibility_state(v)[0] %} {% if c.show_descendants(v) %}