Make sure replaced pages gets marked as stale

Fixes #12436
This commit is contained in:
Bjørn Erik Pedersen
2024-04-30 18:25:55 +02:00
parent 1961327536
commit 9dd687027f
3 changed files with 49 additions and 3 deletions

View File

@@ -487,7 +487,7 @@ Edited!!`, p.Title()))
// We currently rebuild all the language versions of the same content file.
// We could probably optimize that case, but it's not trivial.
b.Assert(int(counters.contentRenderCounter.Load()), qt.Equals, 4)
b.Assert(int(counters.contentRenderCounter.Load()), qt.Equals, 33)
b.AssertFileContent("public"+p.RelPermalink()+"index.html", "Edited!!")
}