From 4f9a6c775a426747021dc50e8b651b92296ff670 Mon Sep 17 00:00:00 2001 From: aka <125674614+zhen-shi@users.noreply.github.com> Date: Sat, 9 Sep 2023 17:43:55 +0800 Subject: [PATCH] feat(shortcodes): add spoiler --- layouts/shortcodes/spoiler.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 layouts/shortcodes/spoiler.html diff --git a/layouts/shortcodes/spoiler.html b/layouts/shortcodes/spoiler.html new file mode 100644 index 0000000..c09ace9 --- /dev/null +++ b/layouts/shortcodes/spoiler.html @@ -0,0 +1,6 @@ +
+ + {{.Get "text"}} + + {{.Inner}} +
\ No newline at end of file