{{- $title := .Get "title" | default "" -}}
{{- $closed := eq (.Get "closed") "true" | default false -}}

<details class="last-of-type:mb-0 rounded p-2 mt-4 mb-4 group alert-info"  {{ if not $closed }}open{{ end }}>
  <summary class="p-1 rounded">
    <strong>{{ $title | markdownify }}</strong>
  </summary>
  <div class="mt-3">
    {{ .InnerDeindent | markdownify }}
  </div>
</details>