internal/website/layouts/_default/list.html
raw| 1 | {{ define "main" -}} |
| 2 | <h1>{{ .Title }}</h1> |
| 3 | {{ partial "page-toc.html" . }} |
| 4 | {{ partial "header-link.html" .Content }} |
| 5 | {{ with .Data.Pages.GroupBy "Weight" }} |
| 6 | <div class="PageList"> |
| 7 | {{- range .}} |
| 8 | {{- range .Pages.ByTitle}} |
| 9 | {{.Render "li"}} |
| 10 | {{- end }} |
| 11 | {{- end }} |
| 12 | </div> |
| 13 | {{end}} |
| 14 | {{- end }} |