Regenerate templates

This commit is contained in:
Bjørn Erik Pedersen
2020-06-12 11:29:04 +02:00
parent 4b560cc119
commit 01e249e97c
2 changed files with 41 additions and 37 deletions

View File

@@ -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,