Update example file structure, give each shortcode own file

This commit is contained in:
Alex Shpak
2019-10-08 23:55:34 +02:00
parent 1db63cef5c
commit c7f93dc789
21 changed files with 255 additions and 399 deletions
@@ -0,0 +1,13 @@
# Buttons
Buttons are styled links that can lead to local page or external link.
```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 >}}