blog/layouts/shortcodes/details.html

10 lines
306 B
HTML
Raw Permalink Normal View History

2024-07-05 02:05:55 -04:00
{{- /*
Template comment syntax: https://hugo.d.balki.me/templates/introduction/#comments
collapsable section ref: https://stackoverflow.com/a/78475534
*/ -}}
<details>
<summary>{{ .Get "title" | default "Click to expand" | markdownify }}</summary>
<div>{{ .Inner | markdownify }}</div>
</details>