{{ range where .Pages.ByPublishDate.Reverse "Section" "post" }}
{{ .Title | markdownify }}
{{ $customDateFormat := "January 2, 2006" }}
{{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
{{ .PublishDate.Format $customDateFormat }}
{{ range .Params.tags }}
{{ . }}
{{ end }}
{{ if eq .Site.Params.showPostSummary true }}
{{ .Summary }}
{{ end }}