about summary refs log tree commit diff stats
path: root/layouts/_default/list.html
blob: 5b51eba64b8148f7c0233b3d0eb61652b83c6b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ define "main" }}
    <h1 class="page-title">{{ .Title }}</h1>
    <ul class="posts">
      {{ range .Data.Pages -}}
      <li>
          <a class="post-title u-url" href="{{ .RelPermalink }}">{{ .Title }}</a>
          <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
      </li>
      {{ end -}}
    </ul>
{{- end }}