{% set attributes = attributes(node)|sortByVisibility %} {% if attributes is not empty %}

Attributes {{ include('components/headerlink.html.twig', {'on': node, 'at': 'attributes'}, with_context = false) }}

{% for attribute in attributes %} {% include 'components/attribute.html.twig' %} {% endfor %}
{% endif %}