mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
22 lines
544 B
HTML
22 lines
544 B
HTML
{%- import "utils.html" as utils with context -%}
|
|
{% extends "layout.html" %}
|
|
{% block content %}
|
|
{% include "header.html" %}
|
|
|
|
{% macro display_replies_tree(replies_tree_node) %}
|
|
|
|
{% if replies_tree_node.is_requested %}
|
|
{{ utils.display_object_expanded(replies_tree_node.ap_object) }}
|
|
{% else %}
|
|
{{ utils.display_object(replies_tree_node.ap_object) }}
|
|
{% endif %}
|
|
|
|
{% for child in replies_tree_node.children %}
|
|
{{ display_replies_tree(child) }}
|
|
{% endfor %}
|
|
|
|
{% endmacro %}
|
|
|
|
{{ display_replies_tree(replies_tree) }}
|
|
|
|
{% endblock %}
|