~nykma/hugo-theme-jane unlisted

ref: f814ff890a58426551dfc30c27e15f7e739d472d hugo-theme-jane/layouts/index.html -rw-r--r-- 382 bytes View raw
f814ff89Nyk Ma [#][CSS] details summary a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "content" }}
<section id="posts" class="posts">
  {{ $pages := .Pages }}
  {{ if .IsHome }}
    {{ $pages = where .Site.RegularPages "Type" "in" site.Params.mainSections }}
  {{ end }}
  {{ $paginator := .Paginate $pages }}
  {{ range $paginator.Pages }}
    {{ .Render "summary" }}
  {{ end }}
</section>

<!-- pagination -->
{{ partial "pagination.html" . }}

{{ end }}