Update button to add download tag

pull/349/head
Carlos Gutiérrez Moreno 2022-11-06 13:09:56 +01:00 committed by GitHub
parent cc5807bde0
commit 475bed99cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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 }}