{{- if .Params.cover.image }} {{- if (or (fileExists (path.Join "static" .Params.cover.image)) (hasPrefix .Params.cover.image "http://") (hasPrefix .Params.cover.image "https://")) }} {{- else}} {{- end}} {{- end }} {{ .Title }} {{- if .Draft }} [draft]{{- end }} {{- if (ne .Site.Params.hideSummary true)}} {{ .Summary | plainify | htmlUnescape }}... {{- end }}