diff --git a/batiskaf/templates/jinja2/category.jinja b/batiskaf/templates/jinja2/category.jinja index b43e0a2..457b93e 100644 --- a/batiskaf/templates/jinja2/category.jinja +++ b/batiskaf/templates/jinja2/category.jinja @@ -1,6 +1,10 @@ {% extends 'base.jinja' %} {% block title %} + {% if category %} {{ category.title }}{% for parent in category.get_parents() %} > {{ parent.title }}{% endfor %} + {% else %} + Поиск по запросу {{ request.GET['q'] }} + {% endif %} {% endblock %} {% block content %}