Closed tomzx closed 7 years ago
Apparently, the template is being overwritten by the article.html.twig
template.
For now, I've temporarily fixed the issue by modifying the sitemap.md
file with the following content:
---
template: sitemap
template_format: xml
---
This forces the template to be set to sitemap instead of article.
In the end, the issue was with the default template plugin, which overrides the template if none is set. I've implemented a small fix @ 141030a9a08768b83466c4d3f13c39e356394487.
It is apparently rendering an HTML page instead of the XML sitemap. I haven't been able to reproduce the issue in development yet.