From ba1a57144b63c741ce00dfe5d6fc99281e0ada09 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 23 Aug 2021 09:49:59 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Add=20dark=20style=20to=20group?= =?UTF-8?q?=20subheadings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 17 +++-------------- layouts/_default/list.html | 4 +++- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6726ec2..1f1039d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,14 @@ # Changelog - All notable changes to Congo will be documented in this file. Things that need attention when upgrading from a prior version are marked ⚠️. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Missing dark style for group subheadings on article listings ## [1.2.0] - 2021-08-22 - ### Added - - Multiple colour schemes - Edit links on article pages - Icons for Foursquare and Pinterest @@ -17,11 +16,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - CSS minification for custom stylesheets ### Changed - - Static assets are now managed through Hugo Pipelines ### Fixed - - Minor style issue with `button` shortcode - Hugo Modules would fail when using default theme config file - Some content not centred correctly on the profile homepage layout @@ -29,15 +26,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - `externalUrl` front matter not working on some list pages ## [1.1.1] - 2020-08-19 - ### Fixed - - Hotfix for exampleSite and GitHub configuration ## [1.1.0] - 2020-08-18 - ### Added - - Breadcrumbs - i18n support - Recent articles partial @@ -46,20 +39,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - JSON-LD structured metadata ### Changed - - ⚠️ Renamed parameter: `homepage.showList` -> `homepage.showRecent` - ⚠️ Renamed parameter: `homepage.listSections` -> `mainSections` - ⚠️ Consolidated author configuration parameters into `config.toml` - General style tweaks to enhance design consistency ### Fixed - - URLs being incorrect in some cases when the site is deployed in a subfolder ## [1.0.0] - 2020-08-16 - ### Added - - Built with Tailwind CSS JIT for minified stylesheets without any excess code - Fully responsive layout - Dark mode (auto-switching based upon browser) @@ -79,7 +68,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Advanced customisation using simple Tailwind colour definitions and styles - Fully documented -[unreleased]: https://github.com/jpanther/Congo/compare/v1.2.0...HEAD +[Unreleased]: https://github.com/jpanther/Congo/compare/v1.2.0...HEAD [1.2.0]: https://github.com/jpanther/Congo/compare/v1.1.1...v1.2.0 [1.1.1]: https://github.com/jpanther/congo/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/jpanther/congo/compare/v1.0.0...v1.1.0 diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ec1e2938..3d87210b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,7 +4,9 @@
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} {{ if $.Site.Params.list.groupByYear }} -

{{ .Key }}

+

+ {{ .Key }} +


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