{{ define "main" }}
    <h2>{{ .Title }}</h2>
    {{ .Content }} 
    <ul>
        {{ range .Pages.ByDate.Reverse }}
            <li>
                <a href="{{ .RelPermalink }}">{{ .Title }}</a>
                <p><small>Published: {{ .Date.Format "January 2, 2006" }}</small></p>
                {{ .Summary }}
            </li>
        {{ end }}
    </ul>
{{ end }}
