{{ partial "header.html" . }}
{{ partial "nav.html" . }}

<main>
  <h1>List of items in this section</h1>

  {{ range .Pages.ByPublishDate.Reverse }}
    <div class="post container">
      <h2>
        <a href="{{ .Permalink }}">
          {{ .Title }}
        </a>
      </h2>

      {{ .Content }}

      <div class="post-date">
        {{ .Date }}
      </div>
    </div>
  {{ end }}
</main>

{{ partial "footer.html" . }}
