Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/button.html')
-rw-r--r--layouts/shortcodes/button.html6
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>