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/alert.html')
-rw-r--r--layouts/shortcodes/alert.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html
new file mode 100644
index 0000000..13e24f0
--- /dev/null
+++ b/layouts/shortcodes/alert.html
@@ -0,0 +1,4 @@
+{{ $style := .Get "style" }}
+<div class="alert alert-{{ $style }}" role="alert">
+ {{ print .Inner | markdownify }}
+</div>