Skip to content

Commit

Permalink
resources/page: Regenerate JSON wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Apr 5, 2019
1 parent 75467cd commit ebab291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/page/page_marshaljson.autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package page

import (
"encoding/json"
"github.com/bep/gitmap"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/langs"
"github.com/gohugoio/hugo/media"
Expand Down Expand Up @@ -76,6 +77,7 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
weight := p.Weight()
language := p.Language()
file := p.File()
gitInfo := p.GitInfo()
outputFormats := p.OutputFormats()
alternativeOutputFormats := p.AlternativeOutputFormats()
menus := p.Menus()
Expand Down Expand Up @@ -131,6 +133,7 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
Weight int
Language *langs.Language
File source.File
GitInfo *gitmap.GitInfo
OutputFormats OutputFormats
AlternativeOutputFormats OutputFormats
Menus navigation.PageMenus
Expand Down Expand Up @@ -185,6 +188,7 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
Weight: weight,
Language: language,
File: file,
GitInfo: gitInfo,
OutputFormats: outputFormats,
AlternativeOutputFormats: alternativeOutputFormats,
Menus: menus,
Expand Down

0 comments on commit ebab291

Please sign in to comment.