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:
authorJulian <julian@vantage-design.com>2020-02-06 23:20:17 +0300
committerJulian <julian@vantage-design.com>2020-02-06 23:20:17 +0300
commit5ebb0ab1e5106bdfcafd5b459d466e16a59b6b01 (patch)
tree8bef96f8c1030cdf872d80d55ec11b2f25360497 /layouts/shortcodes/alert.html
First commit
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>