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