{{ define "main" }}
<article>
<h2>{{ .Title }}</h2>
{{ .Content }}
</article>
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
{{ if not .Params.IsPage }}
{{ partial "articlehead.html" . }}
    <h2><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
    <p>{{ .Description }}</p>
    {{ partial "metadata.html" . }}
    </div>
    <p>{{ .Summary }}</p>
    {{ if .Truncated }}
    <p><a href="{{ .RelPermalink }}">{{ i18n "readmore" }}</a></p>
    {{ end }}
</article>
{{ end }}
{{ end }}
{{ template "_internal/pagination.html" . }}
{{ end }}