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/_index.md | 1 - exampleSite/content/docs/shortcodes.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'exampleSite/content') 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 +{{}}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