<!--
type: string - default filled
text: string
icon: string (optional)
url: string
-->
{{ $outlined := "outlined"}}
<a class="{{if eq .type $outlined}} button-outlined {{else}} button-filled {{end}}" href="{{ .url }}">
  {{ with .icon }}
    <i class="icon-{{ . }}"></i>
  {{ end }}
  {{ .text }}
</a>