diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-06-28 10:27:39 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-06-29 10:14:19 +0200 |
commit | 7917961d59b0dc216e49f59dc0255f9b46534115 (patch) | |
tree | ee9a348c2555fdbbac8022ade50c5d440a81ae4e /hugofs | |
parent | 80ecb958951783eb03e23a81800102d0e33db6e1 (diff) | |
download | hugo-7917961d59b0dc216e49f59dc0255f9b46534115.tar.gz hugo-7917961d59b0dc216e49f59dc0255f9b46534115.zip |
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
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/files/classifier.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hugofs/files/classifier.go b/hugofs/files/classifier.go index 5690795ed..09b239c21 100644 --- a/hugofs/files/classifier.go +++ b/hugofs/files/classifier.go @@ -93,7 +93,6 @@ const ( ContentClassBranch ContentClass = "branch" ContentClassFile ContentClass = "zfile" // Sort below ContentClassContent ContentClass = "zcontent" - ContentClassZero ContentClass = "zero" // Special value for zeroFile ) func (c ContentClass) IsBundle() bool { |