mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
12.22.2017 426676fd3c4b8f095d455d5a8748051d0b9e9f2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
 
  <article class="cf pa3 pa4-m pa4-l nested-copy-line-height center measure-wide-l nested-img">
    <div class="nested-copy-line-height nested-links nested-img mid-gray ">
      {{ .Content }}
    </div>
  </article>
 
  {{ $section := .Paginate (where .Data.Pages "Section" .Section) }}
  <section class="flex-ns flex-wrap justify-around mt5">
    {{ range sort $section.Pages "Date" "desc"  }}
    {{ partial "summary.html" . }}
    {{ end }}
  </section>
  {{ template "_internal/pagination.html" . }}
 
{{ end }}