diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 4920b7a..6d32848 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -5,9 +5,13 @@

{{ .Title }}

{{ range $paginator.PageGroups }} {{ $month := (print .Key "-01") }} -

- -

+ {{ if (index .Pages 0).Date.IsZero }} +
+ {{ else }} +

+ +

+ {{ end }} {{ range (sort .Pages "Date" "desc") }} {{ partial "list_item.html" . }} {{ end }}