{% extends 'store/layout/layout.html' %} {% load static %} {% block title %}Products{% endblock %} {% block style %}{% endblock %} {% block body %}
{% if products %} {% include "store/includes/products.html" with products=products %} {% include "store/includes/pagination.html" with page_obj=products filter_query=filter_query %} {% else %} Products 0 {% endif %}
{% include "store/includes/product_filter.html" with products=products categories=categories %}
{% endblock %} {% block script %} {% include 'store/handlebars/homepage.html' %} {% endblock %}