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