hugo-snotra/layouts/shortcodes/details.html

8 lines
194 B
HTML
Raw Permalink Normal View History

<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
{{ if .Get "md" }}
{{ .Inner | markdownify }}
{{ else }}
{{ .Inner }}
{{ end }}
2020-04-28 12:26:34 +02:00
</details>