]> git.maquefel.me Git - brevno-suite/hugo/commit
Misc permalinks adjustments
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 28 Jun 2023 08:27:39 +0000 (10:27 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 29 Jun 2023 08:14:19 +0000 (10:14 +0200)
commit7917961d59b0dc216e49f59dc0255f9b46534115
treeee9a348c2555fdbbac8022ade50c5d440a81ae4e
parent80ecb958951783eb03e23a81800102d0e33db6e1
Misc permalinks adjustments

* Move config loading to the page package
* Fix a lower bound panic for the `:sections` slice syntax.
* Always return the `:title`
* Add some permalinks integration tests
* Also see issues below

Fixes #9448
Fixes #11184
See #8523
config/allconfig/alldecoders.go
hugofs/files/classifier.go
hugolib/content_map.go
hugolib/integrationtest_builder.go
hugolib/page__paths.go
hugolib/site_url_test.go
resources/page/permalinks.go
resources/page/permalinks_integration_test.go [new file with mode: 0644]
resources/page/permalinks_test.go
resources/page/zero_file.autogen.go
source/fileInfo.go