quellcode.0x90.space/layouts/shortcodes/collapse.html
v 6892a6f7b0 Squashed 'themes/PaperMod/' content from commit 4a924ce
git-subtree-dir: themes/PaperMod
git-subtree-split: 4a924cef54081b61530a30bd69d442ae95f16561
2023-07-05 19:23:15 +02:00

9 lines
298 B
HTML

{{ if .Get "summary" }}
{{ else }}
{{ warnf "missing value for param 'summary': %s" .Position }}
{{ end }}
<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
<summary markdown="span">{{ .Get "summary" | markdownify }}</summary>
{{ .Inner | markdownify }}
</details></p>