From f17836facc890a89231fc4c6cf316bc8ec637f02 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Tue, 24 May 2022 19:42:35 +0200 Subject: [PATCH] Add button shortcode. --- layouts/shortcodes/button.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/shortcodes/button.html diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html new file mode 100644 index 0000000..a733166 --- /dev/null +++ b/layouts/shortcodes/button.html @@ -0,0 +1,5 @@ +{{ $class := .Get "class" -}} +{{ $newtab := .Get "newtab" | default false -}} +{{ $src := .Get "src" -}} +{{ $text := .Get "text" -}} +{{ $text }}