{{- $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 }}
posted: | {{ . }} |
updated: | {{ $updateDate }} |
{{- with .Params.tags -}}
tags:
{{- range . }}
{{- $tag := urlize . -}}
[{{ . }}]
{{- end }}
{{- end }}