{{ define "main" }}

{{ .Title }}

{{ if .PublishDate }}
Published: {{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }}, last updated: {{ .Lastmod.Format "Jan 2, 2006" }}{{ end }}
{{ end }}
Reading time: {{ .ReadingTime }} min
Tags: {{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ $e | humanize }}{{- end -}}
{{ .Content }}{{ end }}