hugo-snotra/layouts/shortcodes/details.html

3 lines
120 B
HTML

<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
{{ .Inner }}
</details>