{% if group|default(0) %}
{% set taxon = group %}
{% set ancestors = taxon.ancestors|reverse %}
{% for ancestor in ancestors %}
{% if ancestor.isRoot() %}
<span class="ct-blue pt-20 fs-{{ fontSize }} ff-os-light">
<a href="{{ path('app_group_render_group', {'groupCode': ancestor.code}) }}" class="link-product ct-blue">
{{ ancestor.name }}
</a>
/
</span>
{% else %}
<span class="ct-blue pt-20 fs-{{ fontSize }} ff-os-light">
<a href="{{ path('app_group_render_group', {'groupCode': ancestor.code}) }}" class="link-product ct-blue">
{{ ancestor.name }}
</a>
/
</span>
{% endif %}
{% endfor %}
{% if taxon.hasChildren() %}
<a href="{{ path('app_group_render_group', {'groupCode': taxon.code}) }}" class="link-product ct-blue">
<span class="ct-blue fs-{{ fontSize }} ff-os-bold">
{{ taxon.name }}
</span>
</a>
{% else %}
<a href="{{ path('app_group_render_group_products', {'groupCode': taxon.code}) }}" class="link-product ct-blue">
<span class="ct-blue fs-{{ fontSize }} ff-os-bold">
{{ taxon.name }}
</span>
</a>
{% endif %}
{% endif %}