smolboi/layouts/shortcodes/button.html

9 lines
197 B
HTML
Raw Permalink Normal View History

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