Skip to content

Commit

Permalink
Revert "Clarify SSR limitations of sitemaps of dynamic routes (#7625)" (
Browse files Browse the repository at this point in the history
#7653)

This reverts commit 9352ac6.
  • Loading branch information
matthewp authored Jul 14, 2023
1 parent 6d6e0a8 commit 795d598
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/integrations/sitemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ 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.
## Installation

### Quick Install
Expand Down

0 comments on commit 795d598

Please sign in to comment.