Update button to add download tag

This commit is contained in:
Carlos Gutiérrez Moreno
2022-11-06 13:09:56 +01:00
committed by GitHub
parent cc5807bde0
commit 475bed99cf
+1
View File
@@ -2,6 +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 }}
role="button"
>
{{ .Inner }}