Skip to content

Commit

Permalink
Run mage generate
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed May 2, 2024
1 parent c892e75 commit 9cd7db6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/page/page_marshaljson.autogen.go
Expand Up @@ -17,9 +17,8 @@ package page

import (
"encoding/json"
"time"

"github.com/gohugoio/hugo/config"
"time"
)

func MarshalPageToJSON(p Page) ([]byte, error) {
Expand All @@ -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()
Expand All @@ -65,7 +63,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
IsNode bool
IsPage bool
Path string
Pathc string
Slug string
Lang string
IsSection bool
Expand All @@ -90,7 +87,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
IsNode: isNode,
IsPage: isPage,
Path: path,
Pathc: pathc,
Slug: slug,
Lang: lang,
IsSection: isSection,
Expand Down

0 comments on commit 9cd7db6

Please sign in to comment.