Skip to content

Commit 98160ea

Browse files
markdumayclaude
andcommitted
feat: register searchindex output for mod-flexsearch lazy loading
mod-flexsearch's new lazyLoad option emits the search index via a searchindex Hugo output format that must be attached to home outputs at the theme level — the same wiring netlify and server use for mod-csp. Module-level [outputs] config does not merge into consuming sites; this is where the format gets activated. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d50c8c7 commit 98160ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/_default/hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ delimiter = ""
6565

6666
# toml-docs-start outputs
6767
[outputs]
68-
home = ["HTML", "RSS", "REDIR", "netlify", "server"]
68+
home = ["HTML", "RSS", "REDIR", "netlify", "server", "searchindex"]
6969
# toml-docs-end outputs
7070

7171
# toml-docs-start build

0 commit comments

Comments
 (0)