Files
yunNote/Hugo/themes/nostyleplease/layouts/shortcodes/details.html

7 lines
195 B
HTML
Raw Normal View History

2026-02-27 11:41:19 +08:00
<details {{ if eq (.Get "open" | default "false") "true" }}open{{ end }}>
<summary>
{{ .Get "summary" | default "Details:" }}
</summary>
{{ .Inner | markdownify }}
</details>