Skip to content

Commit c624d12

Browse files
markdumayclaude
andcommitted
fix: define searchindex output format alongside its outputs entry
The previous commit added searchindex to [outputs] home but relied on the imported mod-flexsearch to provide the format definition. Sites pinning a mod-flexsearch version that predates the searchindex format fail with "unknown output format searchindex for kind home". Define the format here, the same pattern netlify and server use even though mod-csp also defines them. Identical definitions across modules merge cleanly and decouple Hinode from the mod-flexsearch release order. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 98160ea commit c624d12

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config/_default/hugo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ defaultContentLanguageInSubdir = false
5858
baseName = "_redirects"
5959
isPlainText = true
6060
notAlternative = true
61+
[outputFormats.searchindex]
62+
mediaType = "application/json"
63+
baseName = "flexsearch-index"
64+
isPlainText = true
65+
notAlternative = true
66+
permalinkable = true
6167

6268
[mediaTypes."text/netlify"]
6369
delimiter = ""

0 commit comments

Comments
 (0)