{{ with .Date }} {{ if (not (eq (dateFormat "2006-01-02" .) "0001-01-01")) }} {{ dateFormat (site.Params.dateform | default "Mon Jan 2, 2006") . | safeHTML }} {{ end }} {{ end }}