{{ define "title" }}{{ .Title }}{{ end }}
{{ define "main" }}
<main class="inner-window white content">
{{ .Content }}
</main>
{{ end }}
{{ define "status" }}{{ .Description }}{{ end }}
{{ define "footer" }}
    {{ range .Paginator.Pages.ByPublishDate.Reverse }}
        {{ partial "wm/window" (dict "title" .Title "icon" "/img/a39icon.png") }}
        <aside class="inner-window">
          <b name="top">Subject</b>: {{ .Title }}<br/>
          {{ partial "metadata" . }}
        </aside>
        <article class="inner-window content">
            <h2><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
            <p>{{ .Summary }}</p>
            {{ if .Truncated }}
            <p><a href="{{ .RelPermalink }}">{{ i18n "readmore" }}</a></p>
            {{ end }}
        </article>
        {{ partial "wm/status-bar" .Description }}
        {{ partial "wm/window-end" . }}
    {{ end }}
    {{ template "_internal/pagination.html" . }}
{{ end }}