{{ define "main" }}
{{ .Content }}
{{ range .Pages }}
<div class="list">
  {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
  {{ $dateHuman := .Date | time.Format "2006-01-02" }}
  <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>

  <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>

  <p class="lead">{{ .Description }}</p>
</div>
{{ end }}
{{ end }}
