🔀 Merge pull request #349 from cgutierr-zgz/dev

Update button to add download tag
This commit is contained in:
James Panther
2022-11-07 16:36:42 +11:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+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 }}