#39, Add button shortcode

This commit is contained in:
Alex Shpak
2019-05-27 18:25:58 +02:00
parent e452a7beda
commit a299a4b07b
6 changed files with 35 additions and 3 deletions
-1
View File
@@ -6,7 +6,6 @@ type: docs
# Acerbo datus maxime
{{< columns >}}
## Astris ipse furtiva
Est in vagis et Pittheus tu arge accipiter regia iram vocatur nurus. Omnes ut
+10
View File
@@ -31,6 +31,16 @@ protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
Miseratus fonte Ditis conubia.
{{< /expand >}}
# Buttons
```tpl
{{</* button relref="/" */>}}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 >}}
# Tabs
```tpl