From 2f2f7dcd3e39f7faf6f28f0e012d57300dcc609a Mon Sep 17 00:00:00 2001 From: Sam & Claude Date: Tue, 23 Jun 2026 12:05:35 +0200 Subject: [PATCH] docs: add Forgejo release tag link to ISO version badge Footer now links to https://code.smilepowered.org/clawdie/clawdie-iso/releases/tag/v0.XX.0 when built with ASTRO_ISO_VERSION set. --- docs/website/src/components/LandingBody.astro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/website/src/components/LandingBody.astro b/docs/website/src/components/LandingBody.astro index 4a57b23b..ac16c479 100644 --- a/docs/website/src/components/LandingBody.astro +++ b/docs/website/src/components/LandingBody.astro @@ -24,7 +24,11 @@ const Arch = archEntry ? (await render(archEntry)).Content : null; const Cta = ctaEntry ? (await render(ctaEntry)).Content : null; // Only set during ISO builds — shows the exact image version the docs were built against. +// Links to the matching Forgejo release tag. const isoVersion = import.meta.env.ASTRO_ISO_VERSION || null; +const isoTagUrl = isoVersion + ? `https://code.smilepowered.org/clawdie/clawdie-iso/releases/tag/v${isoVersion}` + : null; ---
@@ -71,7 +75,7 @@ const isoVersion = import.meta.env.ASTRO_ISO_VERSION || null; { isoVersion && ( ) }