{{ $temp := .Page.File }} {{ range where $.Site.Pages "Section" "post" }} {{ if (not (eq .Name "" )) }} {{ if (not (eq .File $temp)) }} {{ partial "postcard" (dict "context" . "card_type" "simple" ) }} {{ end }} {{ end }} {{ end }}