about summary refs log tree commit diff
path: root/layouts/partials/posts.html
blob: 0ebd4ca7e9b4260f31d64cfcee4460b91e71b53e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<div>
    <h2 class="text-3xl font-bold mb-2">{{ .Key }}</h2>

    <ol>
        {{ range .Pages -}}
        <li class="mb-6 md:flex md:flex-row">
            <time class=" block md:flex-l-24" datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "Jan 02"}}</time>
            <a class="text-lg md:ml-12" href="{{ .RelPermalink }}">{{ .Title }}</a>
        </li>
        {{- end }}
    </ol>
</div>