{% extends 'base.html' %} {% block content %}
{% if query %} {% if products %} {% for product in products %}
{% if product.image %} {{ product.name }} {% endif %}

{{ product.name }}

{% endfor %} {% else %}

No products found matching your search.

{% endif %} {% endif %}
{% endblock %}