{% include "widgets/categoryicon.html" with category=item.primary_category %}
|
{% if item.get_children.count %}
({{ item.get_children.count }} children)
{% endif %}
{% if show_paths %}
{% for parent in item.get_ancestors %}
{{ parent.name }} »
{% endfor %}
{{ item.name }}
{% else %}
{{ item.name }}
{% endif %}
|
{% empty %}
{% if show_placeholder %}