diff --git a/brutaldon/templates/main/thread.html b/brutaldon/templates/main/thread.html index 44ff4cc..a31e338 100644 --- a/brutaldon/templates/main/thread.html +++ b/brutaldon/templates/main/thread.html @@ -2,30 +2,64 @@ {% load humanize %} {% block title %} -Brutaldon ({{ own_acct.username }}) - thread + Brutaldon ({{ own_acct.username }}) - thread {% endblock %} {% comment %} mastodon.status_context() - # Returns the following dictionary: - { - 'ancestors': # A list of toot dicts - 'descendants': # A list of toot dicts - } - {% endcomment %} +# Returns the following dictionary: +{ +'ancestors': # A list of toot dicts +'descendants': # A list of toot dicts +} +{% endcomment %} - {% block content %} -

Thread

+{% block content %} +

+ Thread +

{% for ancestor in context.ancestors %} - {% include "main/toot_partial.html" with toot=ancestor %} - + {% include "main/toot_partial.html" with toot=ancestor %} + {% endfor %} - {% include "main/toot_partial.html" with toot=toot active=True %} + {% include "main/toot_partial.html" with toot=toot active=True %} {% for descendant in context.descendants %} - {% include "main/toot_partial.html" with toot=descendant %} - + {% include "main/toot_partial.html" with toot=descendant %} + {% endfor %} - {% endblock %} +{% endblock %} + +{% block page_scripts_inline %} + +{% endblock %}