Button shortcode redesign: smaller font, resize

This commit is contained in:
Alex Shpak
2020-02-10 17:49:18 +01:00
parent caeba5ec99
commit 72cf0968ce
6 changed files with 14 additions and 11 deletions
@@ -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 >}}