{# Search / listing results, swapped in by htmx on each query and rendered server-side on first load. Mirrors the empty-state handling of index.html. #} {% if products | length > 0 %} {% include "shop/_product_grid.html" %} {% elif query and query != "" %}
{{ t(key="search-empty", lang=lang | default(value='sk')) }} {{ query }}
{% else %}
{{ t(key="shop-empty", lang=lang | default(value='sk')) }}
{% endif %}