From d9a1b2bc4caf9fa79365592f3c439e244121505d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 13 Jul 2026 13:43:45 +0000 Subject: [PATCH] Change SEE standard URL from /standards/see/ to /standards/sei/ Move the page to src/pages/standards/sei/, update the nav link and the standards overview urlSlug override, and add a 301 redirect from the old URL so existing links keep working. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_017oikNi1WHhwUKyxqaHGNX7 --- docs/components/article-carousels.md | 2 +- netlify.toml | 5 +++++ src/lib/nav-items.ts | 2 +- src/pages/standards/index.astro | 2 +- src/pages/standards/{see => sei}/index.astro | 0 5 files changed, 8 insertions(+), 3 deletions(-) rename src/pages/standards/{see => sei}/index.astro (100%) diff --git a/docs/components/article-carousels.md b/docs/components/article-carousels.md index 2825b2d2..e293129a 100644 --- a/docs/components/article-carousels.md +++ b/docs/components/article-carousels.md @@ -32,7 +32,7 @@ const filtered = allArticles | `sci-web` | SCI for Web | `/standards/sci-web/` | | `sci-ai` | SCI for AI | `/standards/sci-ai/` | | `rtc` | Real-Time Cloud | `/standards/rtc/` | -| `see` | Software Emissions Estimator | `/standards/see/` | +| `see` | SEI (Software Energy Intensity) | `/standards/sei/` | | `soft` | SCI Open Footprint | `/standards/soft/` | | `wdpc` | Web & Digital Product Carbon | `/standards/wdpc/` | | `policy` | Policy & Research | `/policy/` | diff --git a/netlify.toml b/netlify.toml index 0e037dcc..13b87ecb 100644 --- a/netlify.toml +++ b/netlify.toml @@ -54,6 +54,11 @@ from = "/manifesto" to = "/about/" status = 301 +[[redirects]] +from = "/standards/see/" +to = "/standards/sei/" +status = 301 + # -- Translated manifestos → about page -- [[redirects]] diff --git a/src/lib/nav-items.ts b/src/lib/nav-items.ts index 7f7cc46a..d4e9031b 100644 --- a/src/lib/nav-items.ts +++ b/src/lib/nav-items.ts @@ -56,7 +56,7 @@ export const navItems = [ "Real-time energy and carbon for cloud providers" /* iconSrc: pi("real-time-cloud"), icon: "bar-chart" */, }, { - href: "/standards/see/", + href: "/standards/sei/", label: "SEI", description: "Software Energy Intensity" /* iconSrc: pi("see"), icon: "zap" */, diff --git a/src/pages/standards/index.astro b/src/pages/standards/index.astro index 85153d90..9271f4b2 100644 --- a/src/pages/standards/index.astro +++ b/src/pages/standards/index.astro @@ -37,7 +37,7 @@ const standardDefs = [ { slug: "real-time-cloud", urlSlug: "rtc" }, { slug: "wdpc" }, { slug: "open19" }, - { slug: "see" }, + { slug: "see", urlSlug: "sei" }, { slug: "swe" }, ]; const standardProjects = standardDefs diff --git a/src/pages/standards/see/index.astro b/src/pages/standards/sei/index.astro similarity index 100% rename from src/pages/standards/see/index.astro rename to src/pages/standards/sei/index.astro