smolboi/layouts/shortcodes/button.html

9 lines
197 B
HTML
Raw Normal View History

2024-07-08 16:34:47 -05:00
<a
{{ with .Get "href" }}href="{{ . }}"{{ end }}
{{ with .Get "target" }}target="{{ . }}"{{ end }}
{{ with .Get "download" }}download="{{ . }}"{{ end }}
role="button"
>
{{ .Inner }}
</a>