{# Macro to render reaction counts summary #} {% macro render_counts(counts, css_class='', element='span') %} {% if counts and counts.total %} <{{ element }} class="{{ css_class }}"> {% if counts.likes %}⭐ {{ counts.likes }}{% endif %} {% if counts.boosts %}🔁 {{ counts.boosts }}{% endif %} {% if counts.replies %}💬 {{ counts.replies }}{% endif %} {% if counts.quotes %}🗣️ {{ counts.quotes }}{% endif %} {% if counts.mentions %}📣 {{ counts.mentions }}{% endif %} {% if counts.webmentions %}🔗 {{ counts.webmentions }}{% endif %} {% if counts.author_replies %}✍️ {{ counts.author_replies }}{% endif %} {{ element }}> {% endif %} {% endmacro %} {# Recursive macro to render a thread node and its children #} {% macro render_thread_node(node, depth=0, parent_anchor=None) %} {% set max_indent = 5 %} {% set indent_depth = [depth, max_indent] | min %} {% set current_anchor = get_anchor_id(node) %}
To interact via Webmentions, send an activity that references this URL from a platform that supports Webmentions, such as Lemmy, WordPress with Webmention plugins, or any IndieWeb-compatible site.
{% endif %} {% if config.enable_activitypub %}