Skip to content

Commit 3fc0833

Browse files
committed
(#1018) Add sitemap to <head>
This adds the sitemap.xml file to the <head> so that it can be easily found by search engines.
1 parent 61ad524 commit 3fc0833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layouts/Layout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const hash = childProcess
3434
</style>
3535
<meta charset="UTF-8" />
3636
<meta name="viewport" content="width=device-width" />
37+
<link rel="sitemap" href="/sitemap-index.xml" />
3738

3839
<!-- Favicons -->
3940
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

0 commit comments

Comments
 (0)