give error in /search/posts

master
Aevann 2024-08-02 22:30:18 +03:00
parent 3442190655
commit c97acb37f8
1 changed files with 9 additions and 1 deletions

View File

@ -140,7 +140,15 @@
<div class="col-12">
<div class="posts">
{% block listing_template %}
{% if error %}
<div class="row no-gutters">
<div class="col">
{{macros.ghost_box(error, '', 1)}}
</div>
</div>
{% else %}
{% include "post_listing.html" %}
{% endif %}
{% endblock %}
</div>
</div>