From: Bjørn Erik Pedersen Date: Fri, 12 Jun 2020 09:29:04 +0000 (+0200) Subject: Regenerate templates X-Git-Tag: v0.73.0~17 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=01e249e97ce9a3bc145f4372a032b9da3e123a62;p=brevno-suite%2Fhugo Regenerate templates --- diff --git a/resources/page/page_marshaljson.autogen.go b/resources/page/page_marshaljson.autogen.go index 47f385e8..c01dceea 100644 --- a/resources/page/page_marshaljson.autogen.go +++ b/resources/page/page_marshaljson.autogen.go @@ -44,8 +44,8 @@ func MarshalPageToJSON(p Page) ([]byte, error) { length := p.Len() tableOfContents := p.TableOfContents() rawContent := p.RawContent() - mediaType := p.MediaType() resourceType := p.ResourceType() + mediaType := p.MediaType() permalink := p.Permalink() relPermalink := p.RelPermalink() name := p.Name() @@ -100,8 +100,8 @@ func MarshalPageToJSON(p Page) ([]byte, error) { Len int TableOfContents template.HTML RawContent string - MediaType media.Type ResourceType string + MediaType media.Type Permalink string RelPermalink string Name string @@ -155,8 +155,8 @@ func MarshalPageToJSON(p Page) ([]byte, error) { Len: length, TableOfContents: tableOfContents, RawContent: rawContent, - MediaType: mediaType, ResourceType: resourceType, + MediaType: mediaType, Permalink: permalink, RelPermalink: relPermalink, Name: name, diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 70586ed3..cceb0667 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -246,43 +246,47 @@ if (!doNotTrack) { {{- with .Site.Social.facebook_admin }}{{ end }} `}, {`pagination.html`, `{{ $pag := $.Paginator }} -{{ if gt $pag.TotalPages 1 }} +{{ if gt $pag.TotalPages 1 -}} {{ end }} `},