<% if (n.mine && typeof canManageSite !== 'undefined' && canManageSite && n.outboxId) { %>
<% } else if (!n.mine && typeof canManageSite !== 'undefined' && canManageSite && n.id && typeof postSlug !== 'undefined' && postSlug) { %>
<%# Owner: like / boost / reply directly AS the site — no "your server" detour (it's your own site). %>
<%# Owner moderation: report to their instance + remove (tombstoned: never comes back via re-delivery or thread-crawl). %>
<% } else if (n.noteId) { %>
<%# Visitor: reply via YOUR OWN instance. Also on the site's own (mine) comments —
those are dereferenceable Notes (/ap/notes/) too; without this a visitor
could not reply to the owner's comments at all (only the owner branches above
catch mine-nodes for managers, so this else-if never renders for the owner). %>
<% } %>
<% if (n.children && n.children.length) { %>
<% n.children.forEach(function(c){ %>