deploy_users_hugo/themes/PaperMod/layouts/shortcodes/collapse.html
PeaceNira 08ce2643de
Some checks failed
On_Push / build (push) Failing after 42s
uploading hugo files
2025-02-01 19:05:41 +00:00

8 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>