getgrav / grav-plugin-sitemap

Grav Sitemap Plugin
https://getgrav.org
MIT License
42 stars 42 forks source link

Closing </head> tag in header invalidating xml format #18

Closed pbwebdev closed 8 years ago

pbwebdev commented 8 years ago

Strange additional in output of code causing Google Search console not to recognise the sitemap as valid xml.

https://weoutsource.com.au/sitemap

screen shot 2016-03-03 at 10 31 45 am

rhukster commented 8 years ago

Not sure where it's coming from.

Not in our output that I can see: https://github.com/getgrav/grav-plugin-sitemap/blob/develop/templates/sitemap.xml.twig

eilyk commented 8 years ago

Take a look at this article, for me it's ok https://developers.google.com/speed/pagespeed/module/filter-head-add#configuration

BugHunter2k commented 8 years ago

Same here. Grav 1.0.10 with plugin 1.6.0 and custom theme Sitemap: https://www.judo-rietberg.de/sitemap

flaviocopes commented 8 years ago

Just tried, not happening for me on Grav 1.0.10 and Sitemap 1.6.0: https://gravshoppingcart.com/sitemap really strange

BugHunter2k commented 8 years ago

when I append .xml there is no head tag included https://www.judo-rietberg.de/sitemap.xml

rhukster commented 8 years ago

Can't recreate this i'm afraid. Closing for now. Please open up again if the issue reoccurs.