mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
For render hooks, only fallback to HTML (or the defaultOutputFormat) template
Closes #13242
This commit is contained in:
@@ -208,7 +208,7 @@ func TestRebuildRenameTextFileInLeafBundle(t *testing.T) {
|
||||
b.RenameFile("content/mysection/mysectionbundle/mysectionbundletext.txt", "content/mysection/mysectionbundle/mysectionbundletext2.txt").Build()
|
||||
b.AssertFileContent("public/mysection/mysectionbundle/index.html", "mysectionbundletext2", "My Section Bundle Text 2 Content.", "Len Resources: 2|")
|
||||
b.AssertRenderCountPage(8)
|
||||
b.AssertRenderCountContent(8)
|
||||
b.AssertRenderCountContent(9)
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user