output: Add missing JSON tag
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 28 Mar 2019 19:59:09 +0000 (20:59 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 28 Mar 2019 19:59:09 +0000 (20:59 +0100)
docs/data/docs.json
output/outputFormat.go

index de158a7f890b4416b0c2926d56496917439662a0..4a68378aed4f83eaa2daafb3c14e08cc0d3807e5 100644 (file)
         "isHTML": true,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": true
+        "permalinkable": true
       },
       {
         "MediaType": "text/css",
         "isHTML": false,
         "noUgly": false,
         "notAlternative": true,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "text/csv",
         "isHTML": false,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "text/calendar",
         "isHTML": false,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "text/html",
         "isHTML": true,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": true
+        "permalinkable": true
       },
       {
         "MediaType": "application/json",
         "isHTML": false,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "text/plain",
         "isHTML": false,
         "noUgly": false,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "application/rss+xml",
         "isHTML": false,
         "noUgly": true,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       },
       {
         "MediaType": "application/xml",
         "isHTML": false,
         "noUgly": true,
         "notAlternative": false,
-        "Permalinkable": false
+        "permalinkable": false
       }
     ],
     "layouts": [
index 5a794e340c3b35ab1bd960b8291c3515df1388bd..9f371f85652967800294c893c85a9eb011d8d422 100644 (file)
@@ -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.