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

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

{% for constant in constants %} {% include 'components/constant.html.twig' %} {% endfor %}
{% endif %}