From a299a4b07b7d78559f70e03a2f0d00cbb205d6f1 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 27 May 2019 18:25:58 +0200 Subject: #39, Add button shortcode --- exampleSite/content/docs/shortcodes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'exampleSite/content/docs') 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 +{{}}Get Home{{}} +{{}}Contribute{{}} +``` + +{{< button relref="/" >}}Get Home{{< /button >}} +{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}} + # Tabs ```tpl -- cgit v1.2.3