{{ $item := . }} {{/* Dynamic view adjusts to content type. */}} {{ $has_attachments := partial "functions/has_attachments" . }} {{/* Get summary. */}} {{ $summary := "" }} {{ if $item.Params.summary }} {{ $summary = $item.Params.summary | markdownify | emojify }} {{ else if .Params.abstract }} {{ $summary = .Params.abstract | markdownify | emojify }} {{ else if $item.Summary }} {{ $summary = $item.Summary }} {{ end }}
{{.}}