14 lines
553 B
Twig

{% set reversed_parents = parents|reverse %}
<span class="chill-entity chill-entity__social-action">
<span class="{% if not options['no-badge'] %}badge badge-primary{% endif %}">
{%- for p in reversed_parents %}
<span class="chill-entity__social-action__parent--{{ loop.revindex0 }}">
{{ p.title|localize_translatable_string }}{{ options['default.separator'] }}
</span>
{%- endfor -%}
<span class="chill-entity__social-action__child">
{{ socialAction.title|localize_translatable_string }}
</span>
</span>
</span>