aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content/docs
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 17:49:18 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 17:49:26 +0100
commit72cf0968cef6675f5e8eb58fb2bac5e7f2ccbe21 (patch)
tree0f6f81b1d7b0981451db66529d9bde78b8f0b080 /exampleSite/content/docs
parentcaeba5ec99ad3758b0537020cb8183a9e39691fb (diff)
Button shortcode redesign: smaller font, resize
Diffstat (limited to 'exampleSite/content/docs')
-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 >}}