Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-05 17:58:52 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-05 17:58:52 +0300
commitebab291c0e321d23b098684bacaf830a3979e310 (patch)
tree0f4aecb80eecc6a523f5313d7e38d93629a5d65d /resources/page/page_marshaljson.autogen.go
parent75467cd7852852305549a6c71ac503bb4a57e716 (diff)
resources/page: Regenerate JSON wrapper
Diffstat (limited to 'resources/page/page_marshaljson.autogen.go')
-rw-r--r--resources/page/page_marshaljson.autogen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go
index 5f4c9d32f..b2a8ef79f 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,