Compare commits

..

2 Commits

Author SHA1 Message Date
Robb Shecter
9369f75213
Merge 27a70e4c122e0590248f0cb49767403f422d56a9 into 7b7eb0f1f32c401d5f76337b32af4996cfc67d94 2024-10-30 00:23:37 +03:00
Xin
7b7eb0f1f3
fix: add back empty content filter in search-data.json (#482)
Some checks failed
Deploy Hugo site to Pages / build (push) Has been cancelled
Deploy Hugo site to Pages / deploy (push) Has been cancelled
2024-10-21 22:22:56 +01:00

View File

@ -7,6 +7,7 @@
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
{{- $pages = where $pages "Params.excludeSearch" "!=" true -}}
{{- $pages = where $pages "Content" "!=" "" -}}
{{- $output := dict -}}