astro/.changeset/popular-cherries-float.md
Oleksii Tymoshenko 1031c06f9c
feat: improved sitemap (#3579)
* feat: extended sitemap functionality

* docs: del samples

* docs: readme

* feat: new sitemap

* feat: createLinkInHead removed

* docs: updated changeset text

* refactor: 'zod' function() instead of self made refine()

* Revert "refactor: 'zod' function() instead of self made refine()"

This reverts commit 036bac730d.

undo function()
2022-06-16 19:06:48 +00:00

18 lines
474 B
Markdown

---
'@astrojs/sitemap': minor
---
# Key features
- Split up your large sitemap into multiple sitemaps by custom limit.
- Ability to add sitemap specific attributes such as `lastmod` etc.
- Final output customization via JS function.
- Localization support.
- Reliability: all config options are validated.
## Important changes
The integration always generates at least two files instead of one:
- `sitemap-index.xml` - index file;
- `sitemap-{i}.xml` - actual sitemap.