{{ $summary := .summary | default (.context.Params.summary | safeHTML) }} {{ $position := partial "GetSummaryPosition" .context }} {{- if and (eq $position "content") $summary -}} {{- if .block_wrapped -}}
{{- else if .with_container -}}
{{- end -}}
{{ $summary }}
{{- if .block_wrapped -}}
{{- else if .with_container -}}
{{- end -}} {{- end -}}