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

{{ $summary }}

{{- if .block_wrapped -}}
{{- else if .with_container -}} {{- end -}} {{- end -}}