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