images: Force cache invalidation for AVIF target

Fixes #14990
This commit is contained in:
Bjørn Erik Pedersen
2026-06-04 18:58:09 +02:00
parent a043d3ec63
commit e8fefc8388
3 changed files with 40 additions and 3 deletions
+5 -3
View File
@@ -82,9 +82,11 @@ text:{{ ($img.Process "avif text").RelPermalink }}|
b := hugolib.Test(t, files)
b.AssertFileContent("public/index.html",
"default:/logo_hu_add3d7dfc55b7f80.avif|",
"photo:/logo_hu_add3d7dfc55b7f80.avif|",
"text:/logo_hu_b7080fe2a2e2a664.avif|")
`
default:/logo_hu_72e150ce03376cfd.avif|
photo:/logo_hu_72e150ce03376cfd.avif|
text:/logo_hu_9de8f282912bc925.avif|
`)
}
// See issue 14985.