From 85877424132345a951a330488ac7a3fccba66713 Mon Sep 17 00:00:00 2001 From: jamesconwaydev <148910373+jamesconwaydev@users.noreply.github.com> Date: Wed, 18 Nov 2026 08:11:16 -0700 Subject: [PATCH] fix(site): internal links 308-redirect for missing trailing slash Nav, archive and category links pointed at /archived, /how-it-works and /category/, so every click and every crawl took a 308 hop to the canonical slash form. Link the canonical URLs directly. --- site/src/components/Explain.astro | 2 +- site/src/components/Leaderboard.astro | 2 +- site/src/layouts/Base.astro | 4 ++-- site/src/pages/how-it-works.astro | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/src/components/Explain.astro b/site/src/components/Explain.astro index 3bb3872..8721ec1 100644 --- a/site/src/components/Explain.astro +++ b/site/src/components/Explain.astro @@ -42,7 +42,7 @@ const submit = "https://github.com/devstreamhq/devstream/issues/new?template=sub Where did a repo go?

A repo that goes a year without a push, gets archived or says it's unmaintained gets a 30-day warning, then moves to the archive. It comes back by itself if things pick up. Deleted repos, and ones that lose their licence or README, + href="/archived/">archive. It comes back by itself if things pick up. Deleted repos, and ones that lose their licence or README, get a week's notice, then come off.

diff --git a/site/src/components/Leaderboard.astro b/site/src/components/Leaderboard.astro index a331123..7275154 100644 --- a/site/src/components/Leaderboard.astro +++ b/site/src/components/Leaderboard.astro @@ -36,7 +36,7 @@ const split = (repo: string) => { { categories.map((c) => (
  • - + {c.name} {counts[c.slug]} diff --git a/site/src/layouts/Base.astro b/site/src/layouts/Base.astro index cf0ed04..0cea14c 100644 --- a/site/src/layouts/Base.astro +++ b/site/src/layouts/Base.astro @@ -54,8 +54,8 @@ const submit = "https://github.com/devstreamhq/devstream/issues/new?template=sub
    Repos ranked by the developers who like them. diff --git a/site/src/pages/how-it-works.astro b/site/src/pages/how-it-works.astro index 708840e..24b23bf 100644 --- a/site/src/pages/how-it-works.astro +++ b/site/src/pages/how-it-works.astro @@ -25,7 +25,7 @@ const submit = "https://github.com/devstreamhq/devstream/issues/new?template=sub

    Leaving the list

    Repos that stop getting pushes for a year, get archived or call themselves unmaintained get a 30-day warning, then move to the archive. Repos that disappear or drop their licence or README get a week's notice, then come off. + href="/archived/">archive. Repos that disappear or drop their licence or README get a week's notice, then come off.

    The full docs