Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagefind false does not work on index page #2739

Open
1 task
huffmanks opened this issue Dec 24, 2024 · 1 comment · May be fixed by #2740
Open
1 task

pagefind false does not work on index page #2739

huffmanks opened this issue Dec 24, 2024 · 1 comment · May be fixed by #2740
Labels
🐛 bug Something isn't working

Comments

@huffmanks
Copy link

What version of starlight are you using?

0.30.3

What version of astro are you using?

5.1.1

What package manager are you using?

pnpm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

The frontmatter prop pagefind false does not work on index page (src/content/docs/index.mdx)
Queries still populate results from root route.

Starlight Docs: exclude a page from search

Minimal reproducible example
Will require to run build and preview to test search.

Link to Minimal Reproducible Example

https://github.com/huffmanks/withastro-starlight-uiqfa3do

Participation

  • I am willing to submit a pull request for this issue.
@HiDeoo HiDeoo linked a pull request Dec 24, 2024 that will close this issue
@HiDeoo
Copy link
Member

HiDeoo commented Dec 24, 2024

Thanks for the report 🙌

The issue can actually appear in all pages and is a regression in Starlight due to a change in Astro 5. I've opened #2740 to fix the issue.

@HiDeoo HiDeoo added the 🐛 bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants