mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
tpl/collections: Improve type handling in collections.Slice
Fixes #5188
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
|
||||
"github.com/gohugoio/hugo/media"
|
||||
|
||||
"github.com/gohugoio/hugo/common/collections"
|
||||
"github.com/gohugoio/hugo/common/maps"
|
||||
|
||||
"github.com/gohugoio/hugo/langs"
|
||||
@@ -71,8 +70,6 @@ var (
|
||||
|
||||
// Assert that it implements the interface needed for related searches.
|
||||
_ related.Document = (*Page)(nil)
|
||||
|
||||
_ collections.Grouper = Page{}
|
||||
)
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user