{% load wagtailsettings_tags %}
{% get_settings %}
{% if hyperlink %}
    <a href="{{hyperlink}}" class="call-to-action__button call-to-action__button--{{type}}"{{attribute}}>
      <span class="call-to-action__button-text call-to-action__button-text--{{type}}">{{text}}</span>
    </a>
{% endif %}
