shuding / nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.
https://nextra.site
MIT License
11.71k stars 1.27k forks source link

Search: 404 Appears in Results #2099

Closed eerikson closed 1 year ago

eerikson commented 1 year ago

It appears that all pages are indexed, including built-in overrides in Next apps (404, 50x, etc). This means that we see 404 in search results, including in the main Nextra docs site:

image

Perhaps there's a way to either:

AronBe commented 1 year ago

Also for Blog Theme, 404 appears among posts. I can change type in FrontMatter to page but then it appears among pages

image image
C-EO commented 1 year ago

@B2o5T I get the same issue Did the search indexer break? This didn't use to happen before.

C-EO commented 1 year ago

image

llllvvuu commented 1 year ago

I propose fix: https://github.com/shuding/nextra/pull/2106

dimaMachina commented 1 year ago

@AronBe use regular 404.jsx or 404.tsx for blog theme