2019-10-08 23:55:34 +02:00
|
|
|
# Buttons
|
|
|
|
|
|
|
|
Buttons are styled links that can lead to local page or external link.
|
|
|
|
|
2020-02-10 17:49:18 +01:00
|
|
|
## Example
|
|
|
|
|
2019-10-08 23:55:34 +02:00
|
|
|
```tpl
|
|
|
|
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
|
|
|
|
{{</* button href="https://github.com/alex-shpak/hugo-book" */>}}Contribute{{</* /button */>}}
|
|
|
|
```
|
|
|
|
|
|
|
|
{{< button relref="/" >}}Get Home{{< /button >}}
|
|
|
|
{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}
|