🩹 Add dark style to group subheadings

pull/2/head
James Panther 2021-08-23 09:49:59 +10:00
parent eb5feefd2a
commit ba1a57144b
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 6 additions and 15 deletions

View File

@ -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

View File

@ -4,7 +4,9 @@
<section>
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ if $.Site.Params.list.groupByYear }}
<h2 class="mt-12 text-2xl font-bold first:mt-8 text-neutral-800">{{ .Key }}</h2>
<h2 class="mt-12 text-2xl font-bold first:mt-8 text-neutral-700 dark:text-neutral-300">
{{ .Key }}
</h2>
<hr class="border-dotted border-neutral-400 w-36" />
{{ end }}
{{ range .Pages }}