<div> <details {{ with .Get "open" }}open{{ end }}> <summary>{{ .Get "title" }}</summary> {{ .Inner | markdownify -}} </details> </div>