mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
button: fix typo in parameter name #277
This commit is contained in:
parent
7570a7c28c
commit
66d32c48b0
2 changed files with 3 additions and 3 deletions
|
@ -121,10 +121,10 @@ Once the button is clicked, it opens another browser tab for the given URL.
|
|||
#### To the Right
|
||||
|
||||
````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
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"content" .Inner
|
||||
"href" (.Get "href")
|
||||
"icon" (.Get "icon")
|
||||
"icon-position" (.Get "iconposition")
|
||||
"iconposition" ((.Get "iconposition") | default (.Get "icon-position"))
|
||||
"style" (.Get "style")
|
||||
"title" (.Get "title")
|
||||
) }}
|
Loading…
Reference in a new issue