diff options
| author | Yuval Adam <_@yuv.al> | 2025-05-22 12:41:06 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-05-22 12:41:06 +0200 |
| commit | a259b0ed227c515593193945939ba5eb4477f691 (patch) | |
| tree | f1809fcfef5d6b719f5d6dc1c685c398f1bd3c14 /src/layouts | |
| parent | 67f9f1059ea78002c0f6239b17ae0dd7bc1d0c28 (diff) | |
Canonical path
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 2 |
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 && ( |
