{{ define "main" }}
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}
Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "/%s/%s" "tags" .) }}{{ .Title }} {{ end }}{{ end }}{{ end }}{{ end }}