diff options
Diffstat (limited to 'resources/page/pages.go')
-rw-r--r-- | resources/page/pages.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/page/pages.go b/resources/page/pages.go index e0f133500..4db6a4f68 100644 --- a/resources/page/pages.go +++ b/resources/page/pages.go @@ -22,11 +22,6 @@ import ( "github.com/gohugoio/hugo/resources/resource" ) -var ( - _ resource.ResourcesConverter = Pages{} - _ compare.ProbablyEqer = Pages{} -) - // Pages is a slice of pages. This is the most common list type in Hugo. type Pages []Page @@ -149,3 +144,8 @@ func (ps Pages) removeFirstIfFound(p Page) Pages { // PagesFactory somehow creates some Pages. // We do a lot of lazy Pages initialization in Hugo, so we need a type. type PagesFactory func() Pages + +var ( + _ resource.ResourcesConverter = Pages{} + _ compare.ProbablyEqer = Pages{} +) |