{{ define "header" }}
  {{ partial "masthead.html" . }}
{{ end }}
{{ define "main" }}
  <header class="archive">
    <h1>
    <div>{{ .Title }}</div>
    <div>
    <small class="side-nav">
      <a href="{{ .Params.listing  }}">Archive</a>
      <a href="/categories">Categories</a>
      <a href="/tags">Tags</a>
    </small>
    </div>
    </h1>
  </header>
  {{ range .Paginator.Pages }}
    {{ partial "page-summary.html" . }}
  {{ end }}
{{ end }}
{{ define "footer" }}
  {{ partial "pagination.html" . }}
  {{ partial "powered-by.html" . }}
{{ end }}
