From 0fd44d7612808429a6ab387316b871ab900624a4 Mon Sep 17 00:00:00 2001 From: Joshua <62268199+minimalsm@users.noreply.github.com> Date: Sun, 15 Feb 2026 17:23:55 +0000 Subject: [PATCH] fix(sitemap): include root URL in sitemap generation Adds the root homepage URL to the generated sitemap. Previously excluded by a filtering condition that skipped the default locale root entry. --- app/sitemap.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/sitemap.ts b/app/sitemap.ts index 8e24caf7124..8464d53b7a7 100644 --- a/app/sitemap.ts +++ b/app/sitemap.ts @@ -9,7 +9,14 @@ import { getAllPagesWithTranslations } from "@/lib/i18n/translationRegistry" export default async function sitemap(): Promise { const pages = await getAllPagesWithTranslations() - const entries: MetadataRoute.Sitemap = [] + const entries: MetadataRoute.Sitemap = [ + { + url: "https://ethereum.org/", + changeFrequency: "daily", + priority: 1.0, + lastModified: new Date(), + }, + ] for (const { slug, translatedLocales } of pages) { const normalizedSlug = slug.startsWith("/") ? slug : `/${slug}`