{{ define "main" }}
    {{ .Content }}
    <div class="time-list">
        <ul>
            {{ range .Pages }}
            <li class="list-item">
                {{ if .Params.image }}
                <div class="list-image">
                    <img src="{{ .Params.image }}" alt="{{ .LinkTitle }}">
                </div>
                {{ end }}
                <div class="list-title-row">
                    <div class="list-title">
                        <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
                    </div>
                    <div class="list-meta">
                        {{ partial "date.html" .Date }}
                    </div>
                </div>
            </li>
            {{ end }}
        </ul>
    </div>
{{ end }}