mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 05:52:17 +00:00
canonical urls
This commit is contained in:
@@ -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'
|
||||
|
||||
<link href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" rel="stylesheet" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<link rel="canonical" href={canonicalURL} />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user