{% set ctx = comment_reply_context|default(null) %} {% if ctx and ctx.can_publish|default(false) and ctx.rows|default([])|length > 0 %} {% for row in ctx.rows %} {% if row.mode|default('') == 'article' %}

Reply to this note on Nostr (kind 1111).

{% endif %} {% endfor %} {% endif %}
{% for item in list %} {% set cid = item.id|default('') %} {% set cpk = item.pubkey|default('') %} {% set cts = item.created_at|default(null) %} {% set cdepth = item.unfold_depth|default(0) %}
{% if item.unfold_reply_blurb|default('')|trim != '' %}
{% endif %}
{% if cid != '' and commentLinks[cid] is defined and commentLinks[cid]|length > 0 %} {% endif %} {% if ctx and ctx.can_publish|default(false) and item.kind|default(0) == 1111 %} {% for row in ctx.rows|default([]) %} {% if row.mode|default('') == 'comment' and row.parentId|default('') == cid %}
Reply to this note

{% endif %} {% endfor %} {% endif %}
{% endfor %}
{% if quotes is defined and quotes|length > 0 %}

Quotes and references

Other notes that cite this article in a q tag (NIP-18) or reference its address in a / A (e.g. generic reposts, highlights).

{% for item in quotes %} {% set cid = item.id|default('') %} {% set cpk = item.pubkey|default('') %} {% set cts = item.created_at|default(null) %}
{% if cid != '' and quoteLinks[cid] is defined and quoteLinks[cid]|length > 0 %} {% endif %}
{% endfor %}
{% endif %}