{% import 'macros/storyblok.html.twig' as storyblok %}{% if reserveBoldSpace|default(false) and text is defined %}{% set attributes = attributes|default([])|merge({'data-reserve-bold-space': text}) %}{% endif %}{% set inner %}{% block linkText %}{{- text|raw -}}{% endblock %}{# check if class is defined and if a arrow modifier was set (inline-arrow or arrow-right) #}{% if class is defined and 'arrow' in class %}<span class="text-link__arrow"></span>{% endif %}{% endset %}{% if href|default(false) %}<ahref="{{ storyblok.storyblokLink(href)|spaceless }}"{% if target is defined and target != "" %}target="{{ target }}"{% endif %}class="{{ class|default('text-link') }} {{ modifier|default('') }}"{{ attributes|default([])|getAttributes }}{{ (gtm|default(false) ? gtm : '') }}>{{ inner }}</a>{% else %}<span class="{{ class|default('text-link') }} {{ modifier|default('') }}" {{ attributes|default([])|getAttributes }} {{ (gtm|default(false) ? gtm : '') }}>{{ inner }}</span>{% endif %}