culinary.kemonine.info/themes/hugo-theme-techdoc/layouts/shortcodes/button.html

4 lines
216 B
HTML
Raw Normal View History

2022-12-03 15:27:03 +00:00
<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>