spoiler.html 181 Bytes
Newer Older
Jae's avatar
Jae committed
1 2 3 4 5 6 7
{{- $title := .Get "title" | default (.Get 0) -}}
{{- $content := .Get "content" | default (.Get 1) }}

<details>
 <summary>{{ $title }}</summary>
 <p>{{ $content }}</p>
</details>