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 | |
parent | e452a7bedabdfe0c0d62aa4e948902d6632a889d (diff) |
#39, Add button shortcode
Diffstat (limited to 'exampleSite/content')
-rw-r--r-- | exampleSite/content/_index.md | 1 | ||||
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index df56f74..ba76b4d 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -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 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 |