123456789101112131415161718 |
- {{- define "main" -}}
- {{ partial "page_header.html" . }}
- <div class="universal-wrapper">
- {{ with .Content }}
- <div class="article-style">{{ . }}</div>
- {{ end }}
- {{ $paginator := .Paginate .Pages }}
- {{ range $index, $post := $paginator.Pages }}
- {{ partial "functions/render_view" (dict "page" $ "item" . "view" ($.Params.view | default "compact") "index" $index) }}
- {{end}}
- {{ partial "pagination" . }}
- </div>
- {{- end -}}
|