{{ with .Params.author | default site.Params.author.name }}{{ . }}{{ end -}} {{ if and .Date (or .Params.author site.Params.author.name) }} - {{ end -}} {{ with .Date }}{{ .Format ($.Param "dateformat" | default "2 January, 2006") }}{{ end }}