Skip to content

Commit 99c6eb6

Browse files
committed
Add sitemap to header
1 parent 236a9c9 commit 99c6eb6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/layouts/Layout.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ const { metadata } = Astro.props;
2323
<!doctype html>
2424
<html lang='en'>
2525
<head>
26+
<meta name='generator' content={Astro.generator} />
27+
2628
<!-- Common metadata -->
2729
<meta charset='utf-8' />
2830
<meta name='viewport' content='width=device-width' />
29-
<meta name='generator' content={Astro.generator} />
31+
<link rel='sitemap' href='/sitemap-index.xml' />
3032

3133
<!-- Favicon -->
3234
<link rel='icon' type='image/svg+xml' href='/favicon.svg' />
@@ -70,7 +72,6 @@ const { metadata } = Astro.props;
7072
)
7173
}
7274

73-
<!-- SEO -->
7475
<SEO
7576
title={metadata?.title || SITE_CONFIG.title}
7677
titleTemplate={metadata?.useTitleTemplate

0 commit comments

Comments
 (0)