From 2517f748de42cb4babcc966a98cda7d6c36377ef Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Mon, 5 Nov 2018 15:48:44 +0800
Subject: feat(*): init admonition & refactor iconfont
---
layouts/shortcodes/admonition.html | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 layouts/shortcodes/admonition.html
(limited to 'layouts')
diff --git a/layouts/shortcodes/admonition.html b/layouts/shortcodes/admonition.html
new file mode 100644
index 0000000..fa5aacb
--- /dev/null
+++ b/layouts/shortcodes/admonition.html
@@ -0,0 +1,37 @@
+{{ if .IsNamedParams -}}
+
+ {{ if eq (.Get "details") "true" -}}
+
+{{ . }}
{{ end }}
+ {{ .Inner }}
+
{{ . }}
{{ end }} + {{ .Inner }} +{{ . }}
{{ end }} + {{ .Inner }} +