You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0859d9d wraps xmlns:xhtml="http://www.w3.org/1999/xhtml" with if .IsTranslated block.
But as far as I know, .IsTranslated will always return false for the sitemap.xml template. So, xmlns:xhtml="http://www.w3.org/1999/xhtml" is never rendered. And it causes the following error:
Namespace prefix xhtml on link is not defined
I might be wrong, but I think #3933 should be reverted.
I've tested this on a multilingual site.
The text was updated successfully, but these errors were encountered:
MunifTanjim
changed the title
sitemap: Namespace prefix xhtml on link is not defined
sitemap error: Namespace prefix xhtml on link is not defined (in multilingual site)
Oct 17, 2017
Hugo version: 0.30
0859d9d wraps
xmlns:xhtml="http://www.w3.org/1999/xhtml"
withif .IsTranslated
block.But as far as I know,
.IsTranslated
will always returnfalse
for thesitemap.xml
template. So,xmlns:xhtml="http://www.w3.org/1999/xhtml"
is never rendered. And it causes the following error:Namespace prefix xhtml on link is not defined
I might be wrong, but I think #3933 should be reverted.
I've tested this on a multilingual site.
The text was updated successfully, but these errors were encountered: