<a href="{% if link is defined %}{{ link }}{% else %}#{% endif %}"
   class="btn btn-{% if level is defined %}{{ level }}{% else %}secondary{% endif %} btn-icon-split btn-lg {{ classes }}">
  {% if icon is not empty %}
    <span class="icon text-white-50">
        <i class="{{ icon }}"></i>
    </span>
  {% endif %}
  <span class="text">{% if name is defined %}{{ name }}{% else %}Name missing{% endif %}</span>
</a>