diff --git a/layouts/post/list.html b/layouts/post/list.html new file mode 100644 index 0000000..ad894a0 --- /dev/null +++ b/layouts/post/list.html @@ -0,0 +1,18 @@ +{{ define "main" }} +
+
+
+

All Posts

+
+
+
+ {{ $paginator := .Paginate (where .Pages "Type" "post") }} + {{ range $paginator.Pages }} + {{ .Render "card" }} + {{ end }} +
+
+ {{ template "_internal/pagination.html" . }} +
+
+{{ end }}