mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[docs] @astrojs/sitemap README update (#7748)
This commit is contained in:
parent
bad65877a5
commit
29162c99fb
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ A Sitemap is an XML file that outlines all of the pages, videos, and files on yo
|
|||
|
||||
A sitemap file is recommended for large multi-page sites. If you don't use a sitemap, most search engines will still be able to list your site's pages, but a sitemap is a great way to ensure that your site is as search engine friendly as possible.
|
||||
|
||||
With Astro Sitemap, you don't have to worry about creating this file: build your Astro site how you normally would, and the Astro Sitemap integration will crawl your routes and create the sitemap file.
|
||||
With Astro Sitemap, you don't have to worry about creating this XML file yourself: the Astro Sitemap integration will crawl your statically-generated routes and create the sitemap file, including [dynamic routes](https://docs.astro.build/en/core-concepts/routing/#dynamic-routes) like `[...slug]` or `src/pages/[lang]/[version]/info.astro` generated by `getStaticPaths()`.
|
||||
|
||||
This integration cannot generate sitemap entries for dynamic routes in [SSR mode](https://docs.astro.build/en/guides/server-side-rendering/).
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
Loading…
Reference in a new issue