about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/partials/postlist.html
blob: 28fd9b262ca26b8c40dddca68acd1c7ab8e80dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{{ range .GroupByDate "2006" }}
  <h2>{{ .Key }}</h2>
  <ul>
    {{ range .Pages.ByDate }}
    <li>
      <div>
        <a href="{{ .Permalink }}"><h3>{{ .Title }}</h3></a>
      </div>
    </li>
    {{ end }}
  </ul>
{{ end }}