diff options
Diffstat (limited to 'layouts/shortcodes/button.html')
-rw-r--r-- | layouts/shortcodes/button.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html new file mode 100644 index 0000000..27fcf26 --- /dev/null +++ b/layouts/shortcodes/button.html @@ -0,0 +1,6 @@ +{{ $style := .Get "style" }} +{{ $link := .Get "link" }} + +<a href="{{ $link }}" class="btn btn-{{ $style }}"> + {{ print .Inner | markdownify }} +</a> |