mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
node to page: Rename PageType to Kind
And embed that on Page. Updates #2297
This commit is contained in:
@@ -66,7 +66,7 @@ func TestPermalink(t *testing.T) {
|
||||
info := newSiteInfo(siteBuilderCfg{baseURL: string(test.base), language: helpers.NewDefaultLanguage()})
|
||||
|
||||
p := &Page{
|
||||
PageType: PagePage,
|
||||
Kind: KindPage,
|
||||
Node: Node{
|
||||
URLPath: URLPath{
|
||||
Section: "z",
|
||||
|
Reference in New Issue
Block a user