smolboi/layouts/shortcodes/button.html
2024-07-08 17:05:50 -05:00

8 lines
197 B
HTML

<a
{{ with .Get "href" }}href="{{ . }}"{{ end }}
{{ with .Get "target" }}target="{{ . }}"{{ end }}
{{ with .Get "download" }}download="{{ . }}"{{ end }}
role="button"
>
{{ .Inner }}
</a>