diff --git a/CHANGELOG.md b/CHANGELOG.md index a8757b53..4be1b478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Markdown images and `figure` shortcode now search the `assets/` directory if an image cannot be found in page bundle ([#126](https://github.com/jpanther/congo/issues/126)) - Markdown images and `figure` shortcode now fallback to static assets if an image is not provided as a Hugo resource ([#126](https://github.com/jpanther/congo/issues/126)) +- Taxonomy term listings now honour the `groupByYear` parameter ([#145](https://github.com/jpanther/congo/pull/145)) ## [2.0.5] - 2022-02-20 diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 34ad2342..53ad164f 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -15,7 +15,9 @@
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} -

{{ .Key }}

+

+ {{ .Key }} +


{{ end }} {{ range .Pages }}