mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-06-18 03:53:31 +08:00
feat(shortcodes): add spoiler
This commit is contained in:
parent
70bcf9cbe0
commit
4f9a6c775a
6
layouts/shortcodes/spoiler.html
Normal file
6
layouts/shortcodes/spoiler.html
Normal file
@ -0,0 +1,6 @@
|
||||
<details>
|
||||
<summary>
|
||||
{{.Get "text"}}
|
||||
</summary>
|
||||
{{.Inner}}
|
||||
</details>
|
Loading…
Reference in New Issue
Block a user