output: Add missing JSON tag - 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 b6a60f718e376066456da37e7bb997a7697edc31
DIR parent bfdc44964af82807fa91407132d47b6bf52704c3
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 28 Mar 2019 20:59:09 +0100
output: Add missing JSON tag
Diffstat:
M docs/data/docs.json | 18 +++++++++---------
M output/outputFormat.go | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
---
DIR diff --git a/docs/data/docs.json b/docs/data/docs.json
@@ -1519,7 +1519,7 @@
"isHTML": true,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": true
+ "permalinkable": true
},
{
"MediaType": "text/css",
@@ -1542,7 +1542,7 @@
"isHTML": false,
"noUgly": false,
"notAlternative": true,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "text/csv",
@@ -1565,7 +1565,7 @@
"isHTML": false,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "text/calendar",
@@ -1588,7 +1588,7 @@
"isHTML": false,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "text/html",
@@ -1611,7 +1611,7 @@
"isHTML": true,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": true
+ "permalinkable": true
},
{
"MediaType": "application/json",
@@ -1634,7 +1634,7 @@
"isHTML": false,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "text/plain",
@@ -1657,7 +1657,7 @@
"isHTML": false,
"noUgly": false,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "application/rss+xml",
@@ -1680,7 +1680,7 @@
"isHTML": false,
"noUgly": true,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
},
{
"MediaType": "application/xml",
@@ -1703,7 +1703,7 @@
"isHTML": false,
"noUgly": true,
"notAlternative": false,
- "Permalinkable": false
+ "permalinkable": false
}
],
"layouts": [
DIR diff --git a/output/outputFormat.go b/output/outputFormat.go
@@ -77,7 +77,7 @@ type Format struct {
// as you probably don't want to link back to the RSS version of a page, as an
// example. AMP would, however, be a good example of an output format where this
// behaviour is wanted.
- Permalinkable bool
+ Permalinkable bool `json:"permalinkable"`
}
// An ordered list of built-in output formats.