mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 14:59:45 +03:00 
			
		
		
		
	Added canonical URL
This commit is contained in:
		
							
								
								
									
										5
									
								
								src/components/CanonicalURL.astro
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/components/CanonicalURL.astro
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
<link href={canonicalURL} rel="canonical" />
 | 
			
		||||
		Reference in New Issue
	
	Block a user