Run mage generate - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 9cd7db61d3275b9d5ce45f86f3f6925e74edb93f
DIR parent c892e75fbce3a0ed04cd4edcda7a480a4e36836c
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 2 May 2024 10:43:25 +0200
Run mage generate
Diffstat:
M resources/page/page_marshaljson.au… | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
DIR diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go
@@ -17,9 +17,8 @@ package page
import (
"encoding/json"
- "time"
-
"github.com/gohugoio/hugo/config"
+ "time"
)
func MarshalPageToJSON(p Page) ([]byte, error) {
@@ -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()
@@ -65,7 +63,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
IsNode bool
IsPage bool
Path string
- Pathc string
Slug string
Lang string
IsSection bool
@@ -90,7 +87,6 @@ func MarshalPageToJSON(p Page) ([]byte, error) {
IsNode: isNode,
IsPage: isPage,
Path: path,
- Pathc: pathc,
Slug: slug,
Lang: lang,
IsSection: isSection,