]> git.maquefel.me Git - brevno-suite/hugo/commit
Move the duplicate page/resource filter
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 8 Feb 2024 07:44:28 +0000 (08:44 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 8 Feb 2024 19:11:17 +0000 (20:11 +0100)
commit0851c175ad1d84dc3464b080379401452b951860
treee2bdd26e03d24310c865609346c5a37e38ce16d0
parent676e6875dac391f1ec1f7369ed2d59439f434806
Move the duplicate page/resource filter

Move the removal of duplicate content and resource files after we have determined if we're inside a leaf bundle or not.

Note that these would eventually have been filtered out as duplicates when  inserting them into the document store, but doing it here will preserve a consistent ordering.

Fixes #12013
hugofs/component_fs.go
hugolib/pagebundler_test.go
hugolib/pages_capture.go