diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-12-17 10:47:11 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-12-17 11:34:32 +0100 |
commit | d5a0b6bbbc83a3e274c62ed397a293f04ee8d241 (patch) | |
tree | 2ff65eb4f678f08c5453b4fcf5ab4be59e793df9 /hugolib/hugo_sites.go | |
parent | 5178cd13a7da3c5f5ec5d3217c9e40fc0be7152a (diff) |
hugolib: Remove "double layout" lookup
Fixes #5390
Diffstat (limited to 'hugolib/hugo_sites.go')
-rw-r--r-- | hugolib/hugo_sites.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index c1fa7979c..a211956df 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -486,7 +486,7 @@ func (h *HugoSites) renderCrossSitesArtifacts() error { smLayouts := []string{"sitemapindex.xml", "_default/sitemapindex.xml", "_internal/_default/sitemapindex.xml"} return s.renderAndWriteXML(&s.PathSpec.ProcessingStats.Sitemaps, "sitemapindex", - sitemapDefault.Filename, h.toSiteInfos(), s.appendThemeTemplates(smLayouts)...) + sitemapDefault.Filename, h.toSiteInfos(), smLayouts...) } func (h *HugoSites) assignMissingTranslations() error { |