{% if settings.title is not empty %} {% set id_attribute = settings._cssid is not empty ? 'id=' ~ settings._cssid | e('html_attr') : '' %} <{{ settings.tag | e('html_tag') }} class="{{ settings.classes | merge( [ base_styles.base ] ) | join(' ') }}" {{ id_attribute }}> {% if settings.link.href %} {{ settings.title }} {% else %} {{ settings.title }} {% endif %} {% endif %}