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 %} + +