mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
node to page: Rename PageType to Kind
And embed that on Page. Updates #2297
This commit is contained in:
parent
96f71141bd
commit
9fba2a30a9
12 changed files with 141 additions and 138 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue