🚸 Expand search to include all page types

pull/231/head
James Panther 2022-06-25 10:44:35 +10:00
parent 84e5e46971
commit 460a5ad822
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
- Site search will now return results for all page types, including lists and taxonomies
- Upgrade to Tailwind v3.1.4 ([#225](https://github.com/jpanther/congo/pull/225))
### Fixed

View File

@ -1,5 +1,5 @@
{{- $index := slice -}}
{{- range .Site.RegularPages -}}
{{- range .Site.Pages -}}
{{- $section := .Site.GetPage "section" .Section -}}
{{- $index = $index | append (dict
"date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long"))