hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit ebab291c0e321d23b098684bacaf830a3979e310
parent 75467cd7852852305549a6c71ac503bb4a57e716
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri,  5 Apr 2019 16:58:52 +0200

resources/page: Regenerate JSON wrapper

Diffstat:
Mresources/page/page_marshaljson.autogen.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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,