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

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranbuchelva <anbuchelva@gmail.com>2020-01-15 18:48:36 +0300
committeranbuchelva <anbuchelva@gmail.com>2020-01-15 19:12:33 +0300
commit0fda7ac20c9141908a151d66ca9b477b4cce6e42 (patch)
tree0bb7919fdb6e09505756b0484ad5eb3f48954a86 /layouts
parent4c8270bee260a61cddbe59ab28d4cdc22a0fd202 (diff)
introduce alert shortcodes
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/alert.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html
new file mode 100644
index 0000000..e4b3bfa
--- /dev/null
+++ b/layouts/shortcodes/alert.html
@@ -0,0 +1,3 @@
+<div class="alert-{{ range .Params }}{{ . }} {{ end }}">
+ <p>{{ .Inner | markdownify }}</p>
+</div> \ No newline at end of file