button: fix typo in parameter name #277

This commit is contained in:
Sören Weber 2022-06-23 13:24:36 +02:00
parent 7570a7c28c
commit 66d32c48b0
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 3 additions and 3 deletions

View file

@ -121,10 +121,10 @@ Once the button is clicked, it opens another browser tab for the given URL.
#### To the Right #### To the Right
````go ````go
{{%/* button href="https://gohugo.io/" icon="download" icon-position="right" %}}Get Hugo{{% /button */%}} {{%/* button href="https://gohugo.io/" icon="download" iconposition="right" %}}Get Hugo{{% /button */%}}
```` ````
{{% button href="https://gohugo.io/" icon="download" icon-position="right" %}}Get Hugo{{% /button %}} {{% button href="https://gohugo.io/" icon="download" iconposition="right" %}}Get Hugo{{% /button %}}
#### Override for Severity #### Override for Severity

View file

@ -4,7 +4,7 @@
"content" .Inner "content" .Inner
"href" (.Get "href") "href" (.Get "href")
"icon" (.Get "icon") "icon" (.Get "icon")
"icon-position" (.Get "iconposition") "iconposition" ((.Get "iconposition") | default (.Get "icon-position"))
"style" (.Get "style") "style" (.Get "style")
"title" (.Get "title") "title" (.Get "title")
) }} ) }}