{{ .Title }}
{{ if ne .Params.showpagemeta false }}
{{ if not .Date.IsZero }}
{{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}}
{{ end }}
{{ with .Params.categories }}
{{ $total := len . }}
{{ if gt $total 0 }}
in
{{ $total := sub $total 1 }}
{{ range $i, $cat := sort . }}
{{ $cat | upper }}
{{ if lt $i $total }},{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Params.tags }}
{{ $total := len . }}
{{ if gt $total 0 }}
{{ $subtotal := sub $total 1 }}
{{ range $i, $tag := sort . }}
{{ $tag | lower }}{{ if lt $i $subtotal }} {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ .Content }}