compose-theme/layouts/shortcodes/button.html

5 lines
184 B
HTML
Raw Permalink Normal View History

2024-07-26 17:08:59 +02:00
{{- $link := .Get 0 -}}
{{- $label := .Get 1 -}}
{{- $modifier := .Get 2 -}}
<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label | markdownify -}}</a>