diff options
Diffstat (limited to 'themes/terrassa/layouts/_default/list.html')
-rw-r--r-- | themes/terrassa/layouts/_default/list.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/terrassa/layouts/_default/list.html b/themes/terrassa/layouts/_default/list.html new file mode 100644 index 0000000..c01a3b6 --- /dev/null +++ b/themes/terrassa/layouts/_default/list.html @@ -0,0 +1,11 @@ +{{ define "main" }} +<main class="content"> + {{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "posts") }} + + {{ range $paginator.Pages }} + {{ .Render "card" }} + {{ end }} + + {{ template "_internal/pagination.html" . }} +</main> +{{ end }}
\ No newline at end of file |