From 74677d9c6db0fe0450e90d1566f8f0076c3b97fc Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 8 Mar 2022 10:43:56 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20styles=20on=20term=20li?= =?UTF-8?q?st=20heading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + layouts/_default/term.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 }}