summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-05-22 12:41:06 +0200
committerYuval Adam <_@yuv.al>2025-05-22 12:41:06 +0200
commita259b0ed227c515593193945939ba5eb4477f691 (patch)
treef1809fcfef5d6b719f5d6dc1c685c398f1bd3c14 /src/layouts
parent67f9f1059ea78002c0f6239b17ae0dd7bc1d0c28 (diff)
Canonical path
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Layout.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 03bca69..8aaf7ef 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -51,7 +51,7 @@ const {
name="robots"
content={noindex ? "noindex, follow" : "index, follow"}
/>
- <link rel="canonical" href="https://cidr.xyz" />
+ <link rel="canonical" href={`https://cidr.xyz${Astro.url.pathname}`} />
{
!noindex && (