mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
resource: Revert the normalization of Resource.Name
Which means that .Name now returns the same as it did in 0.122.0. Closes #12142
This commit is contained in:
@@ -28,10 +28,10 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
_ mediaTypeAssigner = (*genericResource)(nil)
|
||||
_ mediaTypeAssigner = (*imageResource)(nil)
|
||||
_ resource.Staler = (*genericResource)(nil)
|
||||
_ resource.NameOriginalProvider = (*genericResource)(nil)
|
||||
_ mediaTypeAssigner = (*genericResource)(nil)
|
||||
_ mediaTypeAssigner = (*imageResource)(nil)
|
||||
_ resource.Staler = (*genericResource)(nil)
|
||||
_ resource.NameNormalizedProvider = (*genericResource)(nil)
|
||||
)
|
||||
|
||||
// metaAssigner allows updating metadata in resources that supports it.
|
||||
|
Reference in New Issue
Block a user