diff options
author | anbuchelva <anbuchelva@gmail.com> | 2020-01-15 18:48:36 +0300 |
---|---|---|
committer | anbuchelva <anbuchelva@gmail.com> | 2020-01-15 19:12:33 +0300 |
commit | 0fda7ac20c9141908a151d66ca9b477b4cce6e42 (patch) | |
tree | 0bb7919fdb6e09505756b0484ad5eb3f48954a86 /layouts | |
parent | 4c8270bee260a61cddbe59ab28d4cdc22a0fd202 (diff) |
introduce alert shortcodes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/alert.html | 3 |
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 |