]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
Run mage generate
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 May 2024 08:43:25 +0000 (10:43 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 May 2024 08:49:09 +0000 (10:49 +0200)
resources/page/page_marshaljson.autogen.go

index 18ed2a75d186a1805577f4cac4ab26330378ab86..3b213880119a9e4aa54c80d0ee3586193f088842 100644 (file)
@@ -17,9 +17,8 @@ package page
 
 import (
        "encoding/json"
-       "time"
-
        "github.com/gohugoio/hugo/config"
+       "time"
 )
 
 func MarshalPageToJSON(p Page) ([]byte, error) {
@@ -39,7 +38,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
        isNode := p.IsNode()
        isPage := p.IsPage()
        path := p.Path()
-       pathc := p.Path()
        slug := p.Slug()
        lang := p.Lang()
        isSection := p.IsSection()
@@ -65,7 +63,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
                IsNode      bool
                IsPage      bool
                Path        string
-               Pathc       string
                Slug        string
                Lang        string
                IsSection   bool
@@ -90,7 +87,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
                IsNode:      isNode,
                IsPage:      isPage,
                Path:        path,
-               Pathc:       pathc,
                Slug:        slug,
                Lang:        lang,
                IsSection:   isSection,