aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-05-02 10:43:25 +0200
committerBjørn Erik Pedersen <[email protected]>2024-05-02 10:49:09 +0200
commit9cd7db61d3275b9d5ce45f86f3f6925e74edb93f (patch)
treed06b209eb59f3d06e5c0f86a537fe99314501ad2
parentc892e75fbce3a0ed04cd4edcda7a480a4e36836c (diff)
downloadhugo-9cd7db61d3275b9d5ce45f86f3f6925e74edb93f.tar.gz
hugo-9cd7db61d3275b9d5ce45f86f3f6925e74edb93f.zip
Run mage generate
-rw-r--r--resources/page/page_marshaljson.autogen.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go
index 18ed2a75d..3b2138801 100644
--- a/resources/page/page_marshaljson.autogen.go
+++ b/resources/page/page_marshaljson.autogen.go
@@ -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,