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

{{ $summary }}

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