{{ define "main" }}

{{- partial "header.html" . -}}

<div class="container list page">
<article>

    <h1>{{ .Title }}</h1>

    {{ .Content }}

    <ol>
        {{ range .Pages.Reverse }}
            {{ if (or (lt .Date now) (eq ( .Site.Params.ShowFuture ) "TRUE") ) }}
                <li>
                    <a href="{{.Permalink}}">{{ .Title }}</a><span class="date"> - {{ .Date.Format "2006-01-02" }}</span>
                </li>
            {{ end}}
        {{ end }}
    </ol>

    {{- partial "footer.html" . -}}
    
</article>

</div>

{{ end }}