Add robots.txt and sitemap info to build
This commit is contained in:
4
public/robots.txt
Normal file
4
public/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://blog.cassidoo.co/sitemap-index.xml
|
||||
@@ -52,6 +52,9 @@ const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
||||
title={SITE_TITLE}
|
||||
/>
|
||||
|
||||
<!-- Sitemap -->
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
|
||||
<!-- Google Search Console -->
|
||||
<meta name="google-site-verification" content="4G1fPeskmgxlQRWUoJxDlkDxL0VswExwh1MuRAwkQzg" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user