mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
docs: Regenerate the docs helpers
This commit is contained in:
parent
a392fca962
commit
a358b33f26
1 changed files with 46 additions and 9 deletions
|
@ -6,63 +6,72 @@
|
|||
"String": "application/javascript+js",
|
||||
"MainType": "application",
|
||||
"SubType": "javascript",
|
||||
"Suffix": "js"
|
||||
"Suffix": "js",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "application/json",
|
||||
"String": "application/json+json",
|
||||
"MainType": "application",
|
||||
"SubType": "json",
|
||||
"Suffix": "json"
|
||||
"Suffix": "json",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "application/rss",
|
||||
"String": "application/rss+xml",
|
||||
"MainType": "application",
|
||||
"SubType": "rss",
|
||||
"Suffix": "xml"
|
||||
"Suffix": "xml",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "application/xml",
|
||||
"String": "application/xml+xml",
|
||||
"MainType": "application",
|
||||
"SubType": "xml",
|
||||
"Suffix": "xml"
|
||||
"Suffix": "xml",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "text/calendar",
|
||||
"String": "text/calendar+ics",
|
||||
"MainType": "text",
|
||||
"SubType": "calendar",
|
||||
"Suffix": "ics"
|
||||
"Suffix": "ics",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "text/css",
|
||||
"String": "text/css+css",
|
||||
"MainType": "text",
|
||||
"SubType": "css",
|
||||
"Suffix": "css"
|
||||
"Suffix": "css",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "text/csv",
|
||||
"String": "text/csv+csv",
|
||||
"MainType": "text",
|
||||
"SubType": "csv",
|
||||
"Suffix": "csv"
|
||||
"Suffix": "csv",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "text/html",
|
||||
"String": "text/html+html",
|
||||
"MainType": "text",
|
||||
"SubType": "html",
|
||||
"Suffix": "html"
|
||||
"Suffix": "html",
|
||||
"Delimiter": "."
|
||||
},
|
||||
{
|
||||
"Type": "text/plain",
|
||||
"String": "text/plain+txt",
|
||||
"MainType": "text",
|
||||
"SubType": "plain",
|
||||
"Suffix": "txt"
|
||||
"Suffix": "txt",
|
||||
"Delimiter": "."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -169,6 +178,21 @@
|
|||
"demoTheme/layouts/_default/list.html"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Example": "AMP home, French language\".",
|
||||
"OutputFormat": "AMP",
|
||||
"Suffix": "html",
|
||||
"Template Lookup Order": [
|
||||
"layouts/index.fr.amp.html",
|
||||
"layouts/index.amp.html",
|
||||
"layouts/index.fr.html",
|
||||
"layouts/index.html",
|
||||
"layouts/_default/list.fr.amp.html",
|
||||
"layouts/_default/list.amp.html",
|
||||
"layouts/_default/list.fr.html",
|
||||
"layouts/_default/list.html"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Example": "JSON home, no theme.",
|
||||
"OutputFormat": "JSON",
|
||||
|
@ -961,6 +985,19 @@
|
|||
]
|
||||
]
|
||||
},
|
||||
"Log": {
|
||||
"Description": "",
|
||||
"Args": [
|
||||
"a"
|
||||
],
|
||||
"Aliases": null,
|
||||
"Examples": [
|
||||
[
|
||||
"{{math.Log 1}}",
|
||||
"0"
|
||||
]
|
||||
]
|
||||
},
|
||||
"Mod": {
|
||||
"Description": "Mod returns a % b.",
|
||||
"Args": [
|
||||
|
|
Loading…
Reference in a new issue