{{ define "main" -}}
<div>
  <h1>{{ .Title }}</h1>
</div>
<ul class="article-list">
  {{ range .Paginator.Pages -}}
  <li class="article-item">
    <div class="article-date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }}</div>
    <div class="article-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
  </li>
  {{ end -}}
</ul>
{{ template "_internal/pagination.html" . -}}
{{ end -}}