{{ define "main" }}

{{ .Title }}

{{ .Content }} {{ range sort (.Pages) "Title" }}

{{ .LinkTitle }}

{{ .Summary }} {{ $dateHuman := .Date.Format "January 2, 2006" }} {{ $dateMachine := .Date.Format "2006-01-02T15:04:05-07:00" }} {{ $lastUpdated := .Lastmod.Format "January 2, 2006" }} {{ $lastMachine := .Lastmod.Format "2006-01-02T15:04:05-07:00" }}

reading time: {{ lower .ReadingTime }} mins

created:

{{ if ne $lastUpdated $dateHuman }}

last updated:

{{ end }} {{ end }} {{ end }}