diff --git a/batiskaf/templates/jinja2/base.jinja b/batiskaf/templates/jinja2/base.jinja
index e433945..3c497e5 100644
--- a/batiskaf/templates/jinja2/base.jinja
+++ b/batiskaf/templates/jinja2/base.jinja
@@ -114,19 +114,23 @@
- {% for child in category.get_childs_ordered_by_count() %}
+ {% for child in category.get_childs_ordered_by_count()|batch(3) %}
+ {% for col in child %}
- {{ child.title }}
+ href="{{ col.get_absolute_url() }}">{{ col.title }}
- {% for child2 in child.childs.all() %}
+ {% for child2 in col.childs.all() %}
-
{{ child2.title }}
{% endfor %}
+ {% endfor %}
+
+
{% endfor %}
diff --git a/batiskaf/templates/jinja2/index.jinja b/batiskaf/templates/jinja2/index.jinja
index 1be8b22..4835067 100644
--- a/batiskaf/templates/jinja2/index.jinja
+++ b/batiskaf/templates/jinja2/index.jinja
@@ -1,5 +1,7 @@
{% extends 'base.jinja' %}
{% block content %}
+
+
diff --git a/main/views.py b/main/views.py
index 64b95e6..0f70d6d 100644
--- a/main/views.py
+++ b/main/views.py
@@ -5,5 +5,7 @@ from store.models import Product, Category
def index(request):
c = dict(
products=Product.objects.order_by('-pk')[:8],
+ aaa=[1,2,3,4,5,6,7,8,9,0],
)
+
return render(request, 'index.jinja', c)