diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml index c70c004f..67f3f650 100644 --- a/layouts/sitemap.xml +++ b/layouts/sitemap.xml @@ -1,7 +1,6 @@ {{ range (where .Data.Pages "Section" "!=" "home") }} - {{ $perm := add $.Site.LanguagePrefix "/home/" }} - {{ if ne .RelPermalink $perm }} + {{ if not .Params.widget }} {{ if .IsTranslated }} {{ range .Translations }}