fix(ui): show community in home timelines

This commit is contained in:
trisua 2025-04-09 19:52:36 -04:00
parent b78508ee15
commit 23932dc9ae
3 changed files with 4 additions and 5 deletions

View file

@ -225,7 +225,7 @@
</div> </div>
<div class="card-nest flex flex-col"> <div class="card-nest flex flex-col">
<div id="bio" class="card small"> <div id="bio" class="card small no_p_margin">
{{ community.context.description|markdown|safe }} {{ community.context.description|markdown|safe }}
</div> </div>

View file

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

View file

@ -88,7 +88,7 @@
</div> </div>
<div class="card-nest flex flex-col"> <div class="card-nest flex flex-col">
<div id="bio" class="card small"> <div id="bio" class="card small no_p_margin">
{{ profile.settings.biography|markdown|safe }} {{ profile.settings.biography|markdown|safe }}
</div> </div>