mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
output: Add missing JSON tag
This commit is contained in:
parent
bfdc44964a
commit
b6a60f718e
2 changed files with 10 additions and 10 deletions
|
@ -1519,7 +1519,7 @@
|
||||||
"isHTML": true,
|
"isHTML": true,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": true
|
"permalinkable": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "text/css",
|
"MediaType": "text/css",
|
||||||
|
@ -1542,7 +1542,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": true,
|
"notAlternative": true,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "text/csv",
|
"MediaType": "text/csv",
|
||||||
|
@ -1565,7 +1565,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "text/calendar",
|
"MediaType": "text/calendar",
|
||||||
|
@ -1588,7 +1588,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "text/html",
|
"MediaType": "text/html",
|
||||||
|
@ -1611,7 +1611,7 @@
|
||||||
"isHTML": true,
|
"isHTML": true,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": true
|
"permalinkable": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "application/json",
|
"MediaType": "application/json",
|
||||||
|
@ -1634,7 +1634,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "text/plain",
|
"MediaType": "text/plain",
|
||||||
|
@ -1657,7 +1657,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": false,
|
"noUgly": false,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "application/rss+xml",
|
"MediaType": "application/rss+xml",
|
||||||
|
@ -1680,7 +1680,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": true,
|
"noUgly": true,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"MediaType": "application/xml",
|
"MediaType": "application/xml",
|
||||||
|
@ -1703,7 +1703,7 @@
|
||||||
"isHTML": false,
|
"isHTML": false,
|
||||||
"noUgly": true,
|
"noUgly": true,
|
||||||
"notAlternative": false,
|
"notAlternative": false,
|
||||||
"Permalinkable": false
|
"permalinkable": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"layouts": [
|
"layouts": [
|
||||||
|
|
|
@ -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
|
// 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
|
// example. AMP would, however, be a good example of an output format where this
|
||||||
// behaviour is wanted.
|
// behaviour is wanted.
|
||||||
Permalinkable bool
|
Permalinkable bool `json:"permalinkable"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// An ordered list of built-in output formats.
|
// An ordered list of built-in output formats.
|
||||||
|
|
Loading…
Reference in a new issue