From 9cd7db61d3275b9d5ce45f86f3f6925e74edb93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 2 May 2024 10:43:25 +0200 Subject: [PATCH] Run mage generate --- resources/page/page_marshaljson.autogen.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go index 18ed2a75d18..3b213880119 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,