diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 18:25:58 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 18:25:58 +0200 |
commit | a299a4b07b7d78559f70e03a2f0d00cbb205d6f1 (patch) | |
tree | 0940d0b0f4a94f4443556f1562921665935d0999 /exampleSite/content/docs | |
parent | e452a7bedabdfe0c0d62aa4e948902d6632a889d (diff) |
#39, Add button shortcode
Diffstat (limited to 'exampleSite/content/docs')
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md index f29ce6b..cf854e8 100644 --- a/exampleSite/content/docs/shortcodes.md +++ b/exampleSite/content/docs/shortcodes.md @@ -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 |