Closed lorcalhost closed 4 years ago
When a custom sitemap.xml file is present in /layouts/ the generated sitemap.xml files have the first character (<) substituted with <
sitemap.xml
/layouts/
<
<
Steps to reproduce the behavior:
hugo
layouts/sitemap.xml 's content is copied in every built sitemap.xml file without the first character being corrupted
layouts/sitemap.xml
Hugo is the tool which generates the sitemap - feel free to raise any Hugo issues in the Hugo Github.
Describe the bug
When a custom
sitemap.xml
file is present in/layouts/
the generatedsitemap.xml
files have the first character (<
) substituted with<
To Reproduce
Steps to reproduce the behavior:
sitemap.xml
file in the/layouts/
directoryhugo
to build the sitesitemap.xml
filesExpected behavior
layouts/sitemap.xml
's content is copied in every builtsitemap.xml
file without the first character being corruptedTechnical details: