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