diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-20 10:02:42 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-20 11:17:44 +0100 |
commit | a118cb4138bc903566ade49a7789d91657898a21 (patch) | |
tree | b56c9415c42650e1e322acbf0eeb18c8c68fab6f /output | |
parent | e8cc785a589bb18c9336880d662a659f29bb57f3 (diff) | |
download | hugo-a118cb4138bc903566ade49a7789d91657898a21.tar.gz hugo-a118cb4138bc903566ade49a7789d91657898a21.zip |
Fix robots.txt using the built-in template regression
Fixes #12071
Diffstat (limited to 'output')
-rw-r--r-- | output/layouts/layout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/layouts/layout.go b/output/layouts/layout.go index c05841ae3..b903e09ea 100644 --- a/output/layouts/layout.go +++ b/output/layouts/layout.go @@ -222,7 +222,7 @@ func resolvePageTemplate(d LayoutDescriptor) []string { } switch d.Kind { - case "robotsTXT": + case "robotstxt": layouts = append(layouts, "_internal/_default/robots.txt") case "sitemap": layouts = append(layouts, "_internal/_default/sitemap.xml") |