{{- $postDate := .Date.Format "2006-01-02" }} {{- $updateDate := .Lastmod.Format "2006-01-02" }} {{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}
{{ .Params.description }}
{{ end }}{{ with $postDate }}{{ . }}{{ end }}{{- if ne $postDate $updateDate }} [{{ $updateDate }}]{{ end }}
{{- with .Params.tags -}} {{- range . }} {{- $tag := urlize . -}} [{{ . }}] {{- end }} {{- end }}