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