Skip to content

Search function not working in second docs page #543

Answered by h-enk
xbufu asked this question in Support
Discussion options

You must be logged in to vote

For a similar setup, see: #395

Also, make sure to update ./layouts/partials/footer/script-footer.html (lines 77 +102), make it something like (not tested):

{{ if and (.Site.Params.options.flexSearch) (site.RegularPages "Type" "in" site.Params.mainSections) -}}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@xbufu
Comment options

Answer selected by xbufu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants