culinary.kemonine.info/themes/hugo-theme-techdoc/layouts/shortcodes/button.html
2022-12-03 10:27:03 -05:00

4 lines
216 B
HTML

<a href="{{ with .Get "url" }}{{ . }}{{ end }}" class="button {{ with .Get "status" }}button-{{ . }}{{ else }}button-primary{{ end }}">
{{ with .Get "icon" }}<i class="{{ . }}"></i>&nbsp;{{ end }}{{- .Inner -}}
</a>