From 0c40d8eec5247cc315d060126ae7ceee332f7a14 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 31 May 2025 10:02:50 +0000 Subject: [PATCH] Release 202505311002 --- web/src/components/Footer.astro | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/web/src/components/Footer.astro b/web/src/components/Footer.astro index 7e9d849..1305a12 100644 --- a/web/src/components/Footer.astro +++ b/web/src/components/Footer.astro @@ -15,26 +15,18 @@ const links = [ icon: 'ri:git-repository-line', external: true, }, - ...(Astro.url.origin !== new URL(ONION_ADDRESS).origin - ? [ - { - href: ONION_ADDRESS, - label: 'Tor', - icon: 'onion', - external: true, - }, - ] - : []), - ...(Astro.url.origin !== new URL(I2P_ADDRESS).origin - ? [ - { - href: I2P_ADDRESS, - label: 'I2P', - icon: 'i2p', - external: true, - }, - ] - : []), + { + href: ONION_ADDRESS, + label: 'Tor', + icon: 'onion', + external: true, + }, + { + href: I2P_ADDRESS, + label: 'I2P', + icon: 'i2p', + external: true, + }, { href: '/docs/api', label: 'API',