mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -20,10 +20,9 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/gohugoio/hugo/resources/kinds"
|
||||
"github.com/spf13/cast"
|
||||
|
||||
"github.com/gohugoio/hugo/resources/page"
|
||||
|
||||
qt "github.com/frankban/quicktest"
|
||||
)
|
||||
|
||||
@@ -312,7 +311,7 @@ Content.
|
||||
b.AssertFileContent("public/sv/sect/mybundle/logo.png", "PNG Data")
|
||||
b.AssertFileContent("public/nn/sect/mybundle/logo.png", "PNG Data")
|
||||
|
||||
nnSect := nnSite.getPage(page.KindSection, "sect")
|
||||
nnSect := nnSite.getPage(kinds.KindSection, "sect")
|
||||
c.Assert(nnSect, qt.Not(qt.IsNil))
|
||||
c.Assert(len(nnSect.Pages()), qt.Equals, 12)
|
||||
nnHome := nnSite.Home()
|
||||
|
Reference in New Issue
Block a user