diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html index 6ca55e9d..2789a6ba 100644 --- a/layouts/shortcodes/button.html +++ b/layouts/shortcodes/button.html @@ -2,7 +2,7 @@ class="!rounded-md bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700" {{ with .Get "href" }}href="{{ . }}"{{ end }} {{ with .Get "target" }}target="{{ . }}"{{ end }} - {{ with .Get "download"}}download="{{ . }}"{{ end }} + {{ with .Get "download" }}download="{{ . }}"{{ end }} role="button" > {{ .Inner }}