Sitemaps and Hugo

My bad. I was actually expecting something in this line:

https://yoast.com/sitemap_index.xml

The default xml sitemap we get with Hugo feels a bit… naked. I’m working on something to fix that, but I keep stumbling into this error:

Actually, found a way to make it pretty.

{{ printf "<?xml-stylesheet type=\"text/xsl\" href=\"https://raw.githubusercontent.com/pedroborges/xml-sitemap-stylesheet/master/sitemap.xsl\" ?>" | safeHTML }}

(That’s just a quick experiment)