Skip to content

Commit

Permalink
♻️ refactor sitemap
Browse files Browse the repository at this point in the history
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
  • Loading branch information
SindreKjelsrud committed Jul 16, 2024
1 parent 2730125 commit b4b9fbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 234 deletions.
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ User-agent: *
Disallow:

User-agent: *
Sitemap: https://kjelsrud.dev/sitemap.xml
Sitemap: https://kjelsrud.dev/sitemap-index.xml
233 changes: 0 additions & 233 deletions public/sitemap.xml

This file was deleted.

2 changes: 2 additions & 0 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const { title, description, image = '/placeholder-social.jpg' } = Astro.props;
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

<link rel="sitemap" href="/sitemap-index.xml" />

<meta name="generator" content={Astro.generator} />

<!-- Canonical URL -->
Expand Down

0 comments on commit b4b9fbb

Please sign in to comment.