{{- $context := .context }} {{- $content := .content }} {{- $title := .title | default (T "Expand-title") }} {{- $expanded := .open | default false }} {{- if eq (printf "%T" $expanded) "string" }} {{- $expanded = (eq $expanded "true") }} {{- end }} {{- with $context }}
{{/* things are getting complicated when search tries to open the expand box while jquery sets the display CSS on the element */}}{{ "" -}} {{ $title }}
{{ $content | safeHTML }}
{{- end }}