aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/content_map_page.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r--hugolib/content_map_page.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go
index 5388426c9..ddc22bb66 100644
--- a/hugolib/content_map_page.go
+++ b/hugolib/content_map_page.go
@@ -1764,7 +1764,7 @@ func (sa *sitePagesAssembler) addStandalonePages() error {
if s.conf.EnableRobotsTXT {
if m.i == 0 || s.Conf.IsMultihost() {
- addStandalone("/robots", kinds.KindRobotsTXT, output.RobotsTxtFormat)
+ addStandalone("/_robots", kinds.KindRobotsTXT, output.RobotsTxtFormat)
}
}
@@ -1777,11 +1777,11 @@ func (sa *sitePagesAssembler) addStandalonePages() error {
}
if sitemapEnabled {
- addStandalone("/sitemap", kinds.KindSitemap, output.SitemapFormat)
+ addStandalone("/_sitemap", kinds.KindSitemap, output.SitemapFormat)
skipSitemapIndex := s.Conf.IsMultihost() || !(s.Conf.DefaultContentLanguageInSubdir() || s.Conf.IsMultiLingual())
if !skipSitemapIndex {
- addStandalone("/sitemapindex", kinds.KindSitemapIndex, output.SitemapIndexFormat)
+ addStandalone("/_sitemapindex", kinds.KindSitemapIndex, output.SitemapIndexFormat)
}
}