fix empty ghostbox

pull/222/head
Aevann 2024-02-14 10:36:55 +02:00
parent eb0e863ea0
commit 3830e6f837
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@
{% set text = "@" ~ u.username ~ " hasn't made any posts yet!" %}
{% endif %}
{% else %}
{% set text = "No posts found!" if request.path.startswith('/search') else "" %}
{% set text = "No posts found!" if request.path.startswith('/search') else "There are no posts here (yet)." %}
{% endif %}
{{macros.ghost_box(text, '', 1)}}
</div>