0
mirror of https://github.com/valentineus/popov.link.git synced 2025-09-12 23:20:29 +03:00

Added canonical URL

This commit is contained in:
2024-09-04 21:23:21 +00:00
parent 7eff3fde57
commit 536956f0f3
3 changed files with 10 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
---
<link href={canonicalURL} rel="canonical" />