Skip to content

feat: register searchindex output for mod-flexsearch lazy loading#1932

Merged
markdumay merged 2 commits into
mainfrom
develop
May 24, 2026
Merged

feat: register searchindex output for mod-flexsearch lazy loading#1932
markdumay merged 2 commits into
mainfrom
develop

Conversation

@markdumay
Copy link
Copy Markdown
Collaborator

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.

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>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 24, 2026

Deploy Preview for gethinode-demo ready!

Name Link
🔨 Latest commit c624d12
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-demo/deploys/6a131dee12dda000082cc305
😎 Deploy Preview https://deploy-preview-1932--gethinode-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@markdumay markdumay enabled auto-merge May 24, 2026 15:35
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>
@markdumay markdumay merged commit aa5a31f into main May 24, 2026
15 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant