From: Bjørn Erik Pedersen Date: Tue, 17 Oct 2017 18:56:50 +0000 (+0200) Subject: Revert "tplimpl: Output xmlns:xhtml only if there are translations available" X-Git-Tag: v0.30.1~10 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5109ed520f2ddde815d50e7b31acbbfc57ce7719;p=brevno-suite%2Fhugo Revert "tplimpl: Output xmlns:xhtml only if there are translations available" This reverts commit 0859d9dfe647db3b8a192da38ad7efb5480a29a1. Fixes #3978 --- diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go index dfabcbe1..dd325456 100644 --- a/tpl/tplimpl/template_embedded.go +++ b/tpl/tplimpl/template_embedded.go @@ -87,8 +87,8 @@ func (t *templateHandler) embedTemplates() { `) - t.addInternalTemplate("_default", "sitemap.xml", ` + t.addInternalTemplate("_default", "sitemap.xml", ` {{ range .Data.Pages }} {{ .Permalink }}{{ if not .Lastmod.IsZero }}