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:
Diffstat (limited to 'layouts/shortcodes/alert.html')
-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