{{ define "main" }}
  <article class="h-feed">
    <header>
      <h1 class="p-name">{{ .Title }}</h1>
    </header>

    {{ .Content }}

    {{ range .Site.RegularPages.GroupByDate "2006" }}
    <section>
      <h2>{{ .Key }}</h2>
      {{- range .Pages }}
      {{ .Render "list-item" }}
      {{- end }}
    </section>
    {{- end }}
  </article>
{{ end }}

