{{ .Title }}
{{ if .Params.Date }}Posted on {{ if $author }} by {{ $author }}{{ end }}
{{ end }} {{ if .Params.categories }}Category: {{ range .Params.categories }} {{ . }} {{ end }}
{{ end }}
{{ partial "header.html" . }} {{ $baseurl := .Site.BaseURL | sanitizeurl }} {{ $author := .Site.Params.Author }} {{ if .Params.Author }} {{ $author = .Params.Author }} {{ end }}
Posted on {{ if $author }} by {{ $author }}{{ end }}
{{ end }} {{ if .Params.categories }}Category: {{ range .Params.categories }} {{ . }} {{ end }}