mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -341,7 +341,7 @@ func imageConfigFromImage(img image.Image) image.Config {
|
||||
return image.Config{Width: b.Max.X, Height: b.Max.Y}
|
||||
}
|
||||
|
||||
func ToFilters(in interface{}) []gift.Filter {
|
||||
func ToFilters(in any) []gift.Filter {
|
||||
switch v := in.(type) {
|
||||
case []gift.Filter:
|
||||
return v
|
||||
|
Reference in New Issue
Block a user