{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}
{{ .Content }}
{{ range .Sections.ByDate.Reverse }}
{{ .Title }}:
{{ range (union .Sections .Pages).ByDate.Reverse }}
{{ .Title }}{{ .Date.Format "2" }}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }} {{ .Date.Format "January" }}