{{ define "main" }}
  {{ .Content }}
  <div class="list">
    <ul>
      {{ range .Pages }}
        <li>
          <a href="{{ .RelPermalink }}" style="display: block">
            <h2>{{ .Title }}</h2>

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

            {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
            {{ $dateHuman := .Date | time.Format ":date_long" }}
            <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
          </a>
        </li>
      {{ end }}
    </ul>
  </div>
{{ end }}
