diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 8edcdf2c..34ad2342 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -14,8 +14,10 @@ {{ end }}
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} -

{{ .Key }}

-
+ {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} +

{{ .Key }}

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