diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 6b3e5a97..5d503e57 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -26,14 +26,18 @@
{{ if gt .Pages 0 }}
- {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
- {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
+ {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
+ {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ .Key }}
+ {{ range .Pages }}
+ {{ partial "article-link.html" . }}
+ {{ end }}
{{ end }}
- {{ range .Pages }}
+ {{ else }}
+ {{ range .Paginator.Pages }}
{{ partial "article-link.html" . }}
{{ end }}
{{ end }}