compose-theme/layouts/shortcodes/button.html
2024-07-26 17:08:59 +02:00

4 lines
184 B
HTML

{{- $link := .Get 0 -}}
{{- $label := .Get 1 -}}
{{- $modifier := .Get 2 -}}
<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label | markdownify -}}</a>