diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 32d7ad81..5dff108c 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -13,15 +13,17 @@ {{ end }}
- {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} - {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} -

- {{ .Key }} -

-
- {{ end }} - {{ range .Pages }} - {{ partial "article-link.html" . }} + {{ if .Data.Pages }} + {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} + {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} +

+ {{ .Key }} +

+
+ {{ end }} + {{ range .Pages }} + {{ partial "article-link.html" . }} + {{ end }} {{ end }} {{ end }}