Add no results found

This commit is contained in:
Daoud Clarke 2023-11-08 08:59:22 +00:00
parent 6263e65bb9
commit cce962e845

View file

@ -1,6 +1,7 @@
{% load result_filters %}
{% include "title.html" %}
{% if results %}
{% if query %}
{% if results %}
{% for result in results %}
<li class="result" is="mwmbl-result">
<div class="result-container">
@ -19,6 +20,13 @@
</div>
</li>
{% endfor %}
{% else %}
<li class="home">
<h1>
No results found for "{{query}}".
</h1>
</li>
{% endif %}
{% else %}
<li class="home">
<h1>