Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / hugo-clarity / layouts / partials / archive.html
blob: d83d69cdbd554afe305157d69c9e4a289ee72eb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ $pages := .Pages }}
{{ if .IsHome }}
  {{ $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ end }}
<div class='grid-inverse wrap content'>
  <ul class='posts' id = 'posts'>
    {{- range (.Paginate $pages).Pages }}
      {{ partial "excerpt" . }}
    {{- end }}
    <li>
      {{- template "_internal/pagination.html" . }}
    </li>
  </ul>
  {{- partial "sidebar" . }}
</div>