mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-04 01:59:46 +00:00
add rel attribute to button shortcode
This commit is contained in:
1 parent
580f36f0de
commit
213880a1a3
3 files changed
+3
-2
No files matched your search
@@ -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 "rel" }}rel="{{ . }}"{{ end }}
|
||||
role="button"
|
||||
>
|
||||
{{ .Inner }}
|
||||
|
||||
Reference in new issue
Block a user