diff options
author | 2023-07-14 14:58:18 +0000 | |
---|---|---|
committer | 2023-07-14 14:58:18 +0000 | |
commit | 798442427d3ed303eb61119e90d65e63a79cd718 (patch) | |
tree | 7d3982dbd3ebe50d1934e171d212cfb3adc6d1d7 | |
parent | 9352ac65f4d8c44a5d0cf9cccc37a1196da538cf (diff) | |
download | astro-798442427d3ed303eb61119e90d65e63a79cd718.tar.gz astro-798442427d3ed303eb61119e90d65e63a79cd718.tar.zst astro-798442427d3ed303eb61119e90d65e63a79cd718.zip |
[ci] format
-rw-r--r-- | packages/integrations/sitemap/README.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md index 8b7f9aa57..69ae3ea4b 100644 --- a/packages/integrations/sitemap/README.md +++ b/packages/integrations/sitemap/README.md @@ -19,8 +19,7 @@ A sitemap file is recommended for large multi-page sites. If you don't use a sit 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. -> **Note** -> [Dynamic routes](https://docs.astro.build/en/core-concepts/routing/#dynamic-routes) like `[...slug]` or `src/pages/[lang]/[version]/info.astro` will generate sitemap entries for the pages those routes render, _provided that they are rendered statically_ (i.e., using `getStaticPaths()`. But because of the nature of [Astro's SSR mode](https://docs.astro.build/en/guides/server-side-rendering/), any dynamic routes that are server-rendered (via Astro's server or hybrid modes) do not output a static array of pages, so they will _not_ generate corresponding sitemap entries. +> **Note** > [Dynamic routes](https://docs.astro.build/en/core-concepts/routing/#dynamic-routes) like `[...slug]` or `src/pages/[lang]/[version]/info.astro` will generate sitemap entries for the pages those routes render, _provided that they are rendered statically_ (i.e., using `getStaticPaths()`. But because of the nature of [Astro's SSR mode](https://docs.astro.build/en/guides/server-side-rendering/), any dynamic routes that are server-rendered (via Astro's server or hybrid modes) do not output a static array of pages, so they will _not_ generate corresponding sitemap entries. ## Installation |