blob: fdbcc6ac1e74b89d17744e67396d76057f6d180a (
plain)
1
2
3
4
5
6
|
{{- $text := default "Content Warning: " (.Get "text" | default (.Get 0)) -}}
<details data-disclosure>
<summary>{{ (or $.Page.Params.title $text) | markdownify }}</summary>
</details>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
|