{{ define "main" }} {{ if .Params.image }} {{ else if .Params.email}} {{ end }} {{ .Title }} {{ .Content }} {{ with .Params.email }} {{ end }} {{ i18n "posted_by" }} {{ .Title }} {{ range where .Site.RegularPages "Params.author" "intersect" (slice .File.BaseFileName) }} {{ .Render "card" }} {{ end }} {{ end }}