{{ $summary := .Params.summary | safeHTML }} {{- if and (eq site.Params.summary.position "content") $summary -}} {{ $summary }} {{ end }}