{{ .Title }}
{{ if ne .Params.showpagemeta false }}
{{ if ne .Params.showpdate false }}
{{ if not .Date.IsZero }} {{ .Date.Format .Site.Params.dateformat }} {{end}}
{{ end }}
{{ if isset .Params "categories" }}
{{ $total := len .Params.categories }}
{{ if gt $total 0 }}
in
{{ $total := sub $total 1 }}
{{ range $i, $cat := sort $.Params.categories }}
{{ $cat | upper }}{{ if lt $i $total }}, {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if isset .Params "tags" }}
{{ $total := len .Params.tags }}
{{ if gt $total 0 }}
●
{{ $subtotal := sub $total 1 }}
{{ range $i, $tag := sort $.Params.tags }}
#{{ $tag | upper }}{{ if lt $i $subtotal }} {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ .Content }}