diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6579599..f1e10c0 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,28 +1,38 @@ {{ partial "header.html" . }} {{ partial "navbar.html" . }} -
-
-
- {{ partial "menu" . }} -
-
-
- {{ .Content }} - - {{ range .Pages.GroupBy "Section" }} -

{{ .Key | title }}

- - {{ end }} +
+ {{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}{{ range $paginator.Pages }} +
+
+
+
+ {{ .Title }} +

+ {{ .Date.Format "2006-01-02" }} +

+
+ +
+ {{ .Summary }} +
+ + + Read more +
+ {{ end }} + +
{{ partial "footer.html" . }}