From d76a877f1f75b168e67886e5aaf37d7d6ff74e9d Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 27 Feb 2025 16:33:45 +0100 Subject: [PATCH] canonical urls --- website/src/layouts/Layout.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/src/layouts/Layout.astro b/website/src/layouts/Layout.astro index fbd9759..e4eafd3 100644 --- a/website/src/layouts/Layout.astro +++ b/website/src/layouts/Layout.astro @@ -1,6 +1,7 @@ --- const { frontmatter } = Astro.props || {} const { title } = frontmatter || Astro.props +const canonicalURL = new URL(Astro.url.pathname, Astro.site); import '../styles/_style.css' --- @@ -26,6 +27,7 @@ import '../styles/_style.css' +