diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md index 80ed6a9c3..f4949ca51 100644 --- a/packages/integrations/sitemap/README.md +++ b/packages/integrations/sitemap/README.md @@ -82,6 +82,22 @@ Now, [build your site for production](https://docs.astro.build/en/reference/cli- > **Warning** > If you forget to add a `site`, you'll get a friendly warning when you build, and the `sitemap-index.xml` file won't be generated. +After verifying that the sitemaps are built, you can add them to your site's `
` and the `robots.txt` file for crawlers to pick up. + +```html ins={3} +// src/layouts/Layout.astro + + + +``` + +```txt ins={4} title="public/robots.txt" +User-agent: * +Allow: / + +Sitemap: https://