If you add an xslt stylesheet to the sitemap the sitemap becomes easier to digest for humans.
It is easily done by copying the templates/sitemap_xml.twig to your theme and adding a line to link the sitemap.xsl - but some explanation in the readme and an example like in this PR is a little more helpful.
Ideally the sitemap extension would link to an xslt stylesheet out of the box, but then it needs to be a little more polished, and probably even use some more of the ideas from https://yoast.com/xsl-stylesheet-xml-sitemap/ like images support and google news namespaces.
If you add an xslt stylesheet to the sitemap the sitemap becomes easier to digest for humans.
It is easily done by copying the
templates/sitemap_xml.twig
to your theme and adding a line to link thesitemap.xsl
- but some explanation in the readme and an example like in this PR is a little more helpful.Ideally the sitemap extension would link to an xslt stylesheet out of the box, but then it needs to be a little more polished, and probably even use some more of the ideas from https://yoast.com/xsl-stylesheet-xml-sitemap/ like images support and google news namespaces.