{{ define "main" }}
<main class="list">
    {{ if or .Title .Content }}
    <div>
        <div class="list__title">
            {{ with .Title }}
                <h1>{{ . }}</h1>
            {{ end }}
            {{ with .OutputFormats.Get "rss" -}}
                {{ printf `<a href="%s">[RSS]</a>` .Permalink | safeHTML }}
            {{ end -}}
        </div>
        {{ with .Content }}
        <div>{{ . }}</div>
        {{ end }}
    </div>
    {{ end }} {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ end }} {{
    partial "pagination.html" . }}
</main>
{{ end }}
