diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 3016555..1c33e7a 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,10 +1,9 @@ {{ define "main" }}
- {{ $paginator := .Paginate (.Data.Pages.GroupByDate "2006-01") }}

{{ .Title }}

- {{ range $paginator.PageGroups }} - {{ $month := (print .Key "-01") }} + {{ range .Data.Pages.GroupByDate "2006-01" }} + {{ $month := print .Key "-01" }} {{ if (index .Pages 0).Date.IsZero }}
{{ else }}