add(ui): show town square community

This commit is contained in:
trisua 2025-04-10 21:42:38 -04:00
parent 5109ac65f4
commit 39cd25f0cc
2 changed files with 5 additions and 4 deletions

View file

@ -145,7 +145,7 @@ community=false, show_community=true, can_manage_post=false) -%}
</div>
{%- endmacro %} {% macro post(post, owner, secondary=false, community=false,
show_community=true, can_manage_post=false) -%} {% if community and
show_community and post.community != config.town_square %}
show_community %}
<div class="card-nest">
<div class="card small">
<a
@ -325,8 +325,7 @@ show_community and post.community != config.town_square %}
</div>
</div>
</div>
{% if community and show_community and post.community != config.town_square
%}
{% if community and show_community %}
</div>
{% endif %} {%- endmacro %} {% macro notification(notification) -%}
<div class="w-full card-nest">

View file

@ -23,7 +23,9 @@
</a>
<div class="card secondary">
<span>{{ item.content|markdown|safe }}</span>
<span class="no_p_margin"
>{{ item.content|markdown|safe }}</span
>
</div>
</div>
{% endfor %}