See https://discourse.gohugo.io/t/hugo-panic-template-tags-list-html-not-parsed/56971
The following test panics:
// Issue 14740.
func TestEditTagsList(t *testing.T) {
files := `
-- hugo.toml --
baseURL = "https://example.com"
-- layouts/tags/list.html --
Foo.
`
b := hugolib.TestRunning(t, files)
b.AssertFileContent("public/tags/index.html", "Foo.")
b.EditFileReplaceAll("layouts/tags/list.html", "foo", "Bar").Build()
b.AssertFileContent("public/tags/index.html", "Bar.")
}
OK, so the issue is editing the "legacy mapped" layout names that's also valid in the new setup ...
See https://discourse.gohugo.io/t/hugo-panic-template-tags-list-html-not-parsed/56971
The following test panics:
OK, so the issue is editing the "legacy mapped" layout names that's also valid in the new setup ...