404 page is Astro's unbranded default #134

Stängd
öppnade 2026-08-01 09:03:33 +00:00 av supernaut · 0 kommentarer
Ägare

There is no src/pages/404.astro, so a mistyped or dead URL serves Astro's framework default: a
dark-purple "404: Not Found" with no Bitborg branding, no navigation, no language switch, and English
only regardless of locale.

It is the one page most likely to be seen by someone arriving from a broken external link, which is
exactly the traffic a public announcement produces.

Suggested

A 404.astro using the normal Base layout, with the site's own navigation and a short line pointing
at the documentation, news and contact pages. Needs the /en/ twin, and the strings in ui.ts like
any other page.

Worth checking while in there whether the 404 returned by the [slug] routes (new Response(null, { status: 404 }) in docs/[slug].astro and news/[slug].astro) renders this page or an empty body —
an empty 404 body is a worse version of the same problem.

There is no `src/pages/404.astro`, so a mistyped or dead URL serves Astro's framework default: a dark-purple "404: Not Found" with no Bitborg branding, no navigation, no language switch, and English only regardless of locale. It is the one page most likely to be seen by someone arriving from a broken external link, which is exactly the traffic a public announcement produces. ## Suggested A `404.astro` using the normal `Base` layout, with the site's own navigation and a short line pointing at the documentation, news and contact pages. Needs the `/en/` twin, and the strings in `ui.ts` like any other page. Worth checking while in there whether the 404 returned by the `[slug]` routes (`new Response(null, { status: 404 })` in `docs/[slug].astro` and `news/[slug].astro`) renders this page or an empty body — an empty 404 body is a worse version of the same problem.
supernaut lade till detta till projektet Bitborg Web 2026-08-01 09:04:11 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web#134
Ingen beskrivning angiven.