Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatowTakeshi <doublequotation@gmail.com>2020-02-29 12:44:05 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-03-20 22:35:57 +0300
commit574c2959b8d3338764fa1db102a5e0fd6ed322d9 (patch)
tree185d13348f474d1bb0bb2b0fbfd6bec9d11c8f5e /docs/data/docs.json
parent99958f90fedec11d749a1397300860aa8e8459c2 (diff)
Add minify config
Fixes #6750 Updates #6892
Diffstat (limited to 'docs/data/docs.json')
-rw-r--r--docs/data/docs.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json
index 942f04fb0..2af976318 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
@@ -1451,6 +1451,35 @@
"footnoteAnchorPrefix": "",
"footnoteReturnLinkContents": ""
}
+ },
+ "minifiers": {
+ "tdewolff": {
+ "enableHtml": true,
+ "enableCss": true,
+ "enableJs": true,
+ "enableJson": true,
+ "enableSvg": true,
+ "enableXml": true,
+ "html": {
+ "keepConditionalComments": true,
+ "keepDefaultAttrVals": true,
+ "keepDocumentTags": true,
+ "keepEndTags": true,
+ "keepWhitespace": false
+ },
+ "css": {
+ "decimals": -1,
+ "keepCSS2": true
+ },
+ "js": {},
+ "json": {},
+ "svg": {
+ "decimals": -1
+ },
+ "xml": {
+ "keepWhitespace": false
+ }
+ }
}
},
"media": {
@@ -3192,6 +3221,12 @@
"Aliases": null,
"Examples": null
},
+ "IsProduction": {
+ "Description": "",
+ "Args": null,
+ "Aliases": null,
+ "Examples": null
+ },
"Version": {
"Description": "",
"Args": null,
@@ -3544,6 +3579,19 @@
]
]
},
+ "Sqrt": {
+ "Description": "Sqrt returns the square root of a number.\nNOTE: will return for NaN for negative values of a",
+ "Args": [
+ "a"
+ ],
+ "Aliases": null,
+ "Examples": [
+ [
+ "{{math.Sqrt 81}}",
+ "9"
+ ]
+ ]
+ },
"Sub": {
"Description": "Sub subtracts two numbers.",
"Args": [