summaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Layout.astro')
-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 && (