aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/docs/shortcodes/buttons.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/docs/shortcodes/buttons.md b/exampleSite/content/docs/shortcodes/buttons.md
index b8c96bb..c2ef1e7 100644
--- a/exampleSite/content/docs/shortcodes/buttons.md
+++ b/exampleSite/content/docs/shortcodes/buttons.md
@@ -2,12 +2,12 @@
Buttons are styled links that can lead to local page or external link.
+## Example
+
```tpl
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
{{</* button href="https://github.com/alex-shpak/hugo-book" */>}}Contribute{{</* /button */>}}
```
-## Example
-
{{< button relref="/" >}}Get Home{{< /button >}}
{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}