We have been trying to set up the customized sitemap.xml. We’ve followed the instructions from https://gohugo.io/templates/sitemap-template/ but nothing seems to make it work. It always says that “error on line 2 at column 1: Document is empty” / “error on line 2 at column 6: XML declaration allowed only at the start of the document hugo”.
The default .xml file (evoir.fi/sitemap.xml) is giving the urls only in “/”, “/blog” etc. but google doesn’t understand those and they should be set as a whole url.
Could any1 help me with this issue?