mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-24 03:21:37 +01:00
9 lines
298 B
HTML
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>
|