]> git.maquefel.me Git - brevno-suite/hugo/commit
Use the page path and not the backing filename as the last resort in the default...
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 26 Feb 2025 11:16:58 +0000 (12:16 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 26 Feb 2025 12:06:26 +0000 (13:06 +0100)
commitc498d0fe1e982f59d314627878ef9b744240268d
tree30f8cab9e092c52b95b8269526a0ffbd50d2db63
parent521911a576af0091c9d07bb546e474bf98341b7f
Use the page path and not the backing filename as the last resort in the default sort

This should:

1. Fix some (rare) tiebreaker issues when sorting pages from multiple content adapters.
2. Improve the sorting for pages without a backing file.
common/paths/pathparser_test.go
hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go
resources/page/pages_sort.go