From: Bjørn Erik Pedersen Date: Fri, 5 Apr 2019 14:58:52 +0000 (+0200) Subject: resources/page: Regenerate JSON wrapper X-Git-Tag: v0.55.0~10 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ebab291c0e321d23b098684bacaf830a3979e310;p=brevno-suite%2Fhugo resources/page: Regenerate JSON wrapper --- diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go index 5f4c9d32..b2a8ef79 100644 --- a/resources/page/page_marshaljson.autogen.go +++ b/resources/page/page_marshaljson.autogen.go @@ -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" @@ -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() @@ -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 @@ -185,6 +188,7 @@ func MarshalPageToJSON(p Page) ([]byte, error) { Weight: weight, Language: language, File: file, + GitInfo: gitInfo, OutputFormats: outputFormats, AlternativeOutputFormats: alternativeOutputFormats, Menus: menus,