{{ define "main" }}
{{ .Title }} {{ if .Date }} {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") }} {{ end }}
{{ .Summary }}
{{ .Content }}
{{ if .Params.comments }} {{ partial "comments.html" . }} {{ end }}
{{ end }}