0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
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

474 B

@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.