fix: change config.town_square to usize instead of String

This commit is contained in:
trisua 2025-04-09 21:04:59 -04:00
parent a06dc88f84
commit fd33c0c7d8
4 changed files with 6 additions and 6 deletions

View file

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