{{ .Title }} {{ if eq .Section "post" }} {{ .Date.Format "2006-01-02" }} {{ end }} {{ .Content }} {{ if .Params.categories }} {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}{{ end }}{{ . }}{{ end }} {{ end }} {{ if .Params.tags }} {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}{{ end }}{{ . }}{{ end }} {{ end }}