mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Squashed 'docs/' changes from 9cece6640..fb551cc75
fb551cc75Update index.md7af894857Update index.mdd235753eaHugo 0.82.1e03e72debMerge branch 'temp0821'e62648961Merge branch 'release-0.82.1'e1ab0f6ebreleaser: Add release notes to /docs for release of 0.82.15d354c38dReplaced ``` code blocks with Code Togglerc9d065c20Remove duplicate YAML keys (#1420)8ae31e701Add webp image encoding support848f2af26Update internal.md (#1407)c103a86a4Fix `ref` shortcode example output (#1409)9f8ba56dcRemove leading dot from where function KEY (#1419)363251a51Improve presentation of template lookup order (#1382)b73da986dImprove description of Page Resources (#1381)4e0bb96d5Rework robots.txt page (#1405)edf893e6fUpdate migrations.md (#1412)450f1580bAdd link to `site` function doc (#1417)cfffa6e6fAdded one extension to the list (#1414)05f1665a0Update theme5de0b1c6aUpdate theme250e20552Add hugo.IsExtendeddea5e1fd7Fix typo on merge function page (#1408)1bbed2cf3Update configuration.mdbe0b64a46Omit ISOcbb5b8367Fix `dateFormat` documentation698f15466Regenerate the docshelperf9a8a7cb6Update multilingual.mda22dc6267Fix grammar (#1398)eb98b0997Fix pretty URL example (#1397)f4c4153dcMention date var complementation in post scheduling (#1396)17fae284cFix resources.ExecuteAsTemplate argument order (#1394)97e2c2abbUse code-toggle shortcode in `multilingual.md` (#1388)3a84929bbHarmonize capitalization (#1393)17f15daa6fix file naming used in example (#1392)5d97b6a18Add slice syntax to sections permalinks config00665b97bImprove description of `site.md`edcf5e3fcFix example in `merge.md`f275ab778Update postprocess.md9593e3991Fix file name59bd9656fUpdate postprocess.md1172fb6d0Update to theNewDynamic repository (#1263)f5b5c1d2cUpdate Hugo container image4f2e92f2aAdapt anchorize.md to Goldmark98aa19073Directly link to `highlight` shortcode (#1384)4c75c2422Fix header levelf15c06f23markdownify: add note about render-hooks and .RenderString (#1281)69c82eb68Remove Blackfriday reference from shortcode desc (#1380)36de478dfUpdate description of ignoreFiles config setting (#1377)6337699d8Remove "Authors" page from documentation (#1371)35e73ca90fix indent in example (#1372)d3f01f19aRemove opening body tag from header example (#1376)341a5a7d8Update index.mdc9bfdbee6Release 0.82.0119644949releaser: Add release notes to /docs for release of 0.82.032efaed78docs: Regenerate docs helperdea5449a2docs: Regen CLI docseeab18fceMerge commit '81689af79901f0cdaff765cda6322dd4a9a7ccb3'd508a1259Attributes for code fences should be placed after the lang indicator onlyc80905cefdeps: Update to esbuild v0.9.095350eb79Add support for Google Analytics v402d36f9bcAllow markdown attribute lists to be used in title render hooks7df220a64Merge commit '9d31f650da964a52f05fc27b7fb99cf3e09778cf'd80bf61b7Fixes #7698. git-subtree-dir: docs git-subtree-split:fb551cc750
This commit is contained in:
+200
-160
@@ -1597,263 +1597,369 @@
|
||||
"media": {
|
||||
"types": [
|
||||
{
|
||||
"type": "application/javascript",
|
||||
"string": "application/javascript",
|
||||
"mainType": "application",
|
||||
"subType": "javascript",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "js",
|
||||
"fullSuffix": ".js"
|
||||
},
|
||||
"type": "application/javascript",
|
||||
"string": "application/javascript",
|
||||
"suffixes": [
|
||||
"js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/json",
|
||||
"string": "application/json",
|
||||
"mainType": "application",
|
||||
"subType": "json",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "json",
|
||||
"fullSuffix": ".json"
|
||||
},
|
||||
"type": "application/json",
|
||||
"string": "application/json",
|
||||
"suffixes": [
|
||||
"json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/octet-stream",
|
||||
"string": "application/octet-stream",
|
||||
"mainType": "application",
|
||||
"subType": "octet-stream",
|
||||
"delimiter": "",
|
||||
"suffixes": null
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "",
|
||||
"fullSuffix": ""
|
||||
},
|
||||
"type": "application/octet-stream",
|
||||
"string": "application/octet-stream",
|
||||
"suffixes": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/rss+xml",
|
||||
"string": "application/rss+xml",
|
||||
"mainType": "application",
|
||||
"subType": "rss",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "xml",
|
||||
"fullSuffix": ".xml"
|
||||
},
|
||||
"type": "application/rss+xml",
|
||||
"string": "application/rss+xml",
|
||||
"suffixes": [
|
||||
"xml"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/toml",
|
||||
"string": "application/toml",
|
||||
"mainType": "application",
|
||||
"subType": "toml",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "toml",
|
||||
"fullSuffix": ".toml"
|
||||
},
|
||||
"type": "application/toml",
|
||||
"string": "application/toml",
|
||||
"suffixes": [
|
||||
"toml"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/typescript",
|
||||
"string": "application/typescript",
|
||||
"mainType": "application",
|
||||
"subType": "typescript",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "ts",
|
||||
"fullSuffix": ".ts"
|
||||
},
|
||||
"type": "application/typescript",
|
||||
"string": "application/typescript",
|
||||
"suffixes": [
|
||||
"ts"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/xml",
|
||||
"string": "application/xml",
|
||||
"mainType": "application",
|
||||
"subType": "xml",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "xml",
|
||||
"fullSuffix": ".xml"
|
||||
},
|
||||
"type": "application/xml",
|
||||
"string": "application/xml",
|
||||
"suffixes": [
|
||||
"xml"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "application/yaml",
|
||||
"string": "application/yaml",
|
||||
"mainType": "application",
|
||||
"subType": "yaml",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "yaml",
|
||||
"fullSuffix": ".yaml"
|
||||
},
|
||||
"type": "application/yaml",
|
||||
"string": "application/yaml",
|
||||
"suffixes": [
|
||||
"yaml",
|
||||
"yml"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "image/jpeg",
|
||||
"string": "image/jpeg",
|
||||
"mainType": "image",
|
||||
"subType": "jpeg",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "jpg",
|
||||
"fullSuffix": ".jpg"
|
||||
},
|
||||
"type": "image/jpeg",
|
||||
"string": "image/jpeg",
|
||||
"suffixes": [
|
||||
"jpg",
|
||||
"jpeg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "image/png",
|
||||
"string": "image/png",
|
||||
"mainType": "image",
|
||||
"subType": "png",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "png",
|
||||
"fullSuffix": ".png"
|
||||
},
|
||||
"type": "image/png",
|
||||
"string": "image/png",
|
||||
"suffixes": [
|
||||
"png"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "image/svg+xml",
|
||||
"string": "image/svg+xml",
|
||||
"mainType": "image",
|
||||
"subType": "svg",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "svg",
|
||||
"fullSuffix": ".svg"
|
||||
},
|
||||
"type": "image/svg+xml",
|
||||
"string": "image/svg+xml",
|
||||
"suffixes": [
|
||||
"svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/calendar",
|
||||
"string": "text/calendar",
|
||||
"mainType": "text",
|
||||
"subType": "calendar",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "ics",
|
||||
"fullSuffix": ".ics"
|
||||
},
|
||||
"type": "text/calendar",
|
||||
"string": "text/calendar",
|
||||
"suffixes": [
|
||||
"ics"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/css",
|
||||
"string": "text/css",
|
||||
"mainType": "text",
|
||||
"subType": "css",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "css",
|
||||
"fullSuffix": ".css"
|
||||
},
|
||||
"type": "text/css",
|
||||
"string": "text/css",
|
||||
"suffixes": [
|
||||
"css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/csv",
|
||||
"string": "text/csv",
|
||||
"mainType": "text",
|
||||
"subType": "csv",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "csv",
|
||||
"fullSuffix": ".csv"
|
||||
},
|
||||
"type": "text/csv",
|
||||
"string": "text/csv",
|
||||
"suffixes": [
|
||||
"csv"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/html",
|
||||
"string": "text/html",
|
||||
"mainType": "text",
|
||||
"subType": "html",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "html",
|
||||
"fullSuffix": ".html"
|
||||
},
|
||||
"type": "text/html",
|
||||
"string": "text/html",
|
||||
"suffixes": [
|
||||
"html"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/jsx",
|
||||
"string": "text/jsx",
|
||||
"mainType": "text",
|
||||
"subType": "jsx",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "jsx",
|
||||
"fullSuffix": ".jsx"
|
||||
},
|
||||
"type": "text/jsx",
|
||||
"string": "text/jsx",
|
||||
"suffixes": [
|
||||
"jsx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/plain",
|
||||
"string": "text/plain",
|
||||
"mainType": "text",
|
||||
"subType": "plain",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "txt",
|
||||
"fullSuffix": ".txt"
|
||||
},
|
||||
"type": "text/plain",
|
||||
"string": "text/plain",
|
||||
"suffixes": [
|
||||
"txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/tsx",
|
||||
"string": "text/tsx",
|
||||
"mainType": "text",
|
||||
"subType": "tsx",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "tsx",
|
||||
"fullSuffix": ".tsx"
|
||||
},
|
||||
"type": "text/tsx",
|
||||
"string": "text/tsx",
|
||||
"suffixes": [
|
||||
"tsx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/x-sass",
|
||||
"string": "text/x-sass",
|
||||
"mainType": "text",
|
||||
"subType": "x-sass",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "sass",
|
||||
"fullSuffix": ".sass"
|
||||
},
|
||||
"type": "text/x-sass",
|
||||
"string": "text/x-sass",
|
||||
"suffixes": [
|
||||
"sass"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text/x-scss",
|
||||
"string": "text/x-scss",
|
||||
"mainType": "text",
|
||||
"subType": "x-scss",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "scss",
|
||||
"fullSuffix": ".scss"
|
||||
},
|
||||
"type": "text/x-scss",
|
||||
"string": "text/x-scss",
|
||||
"suffixes": [
|
||||
"scss"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/3gpp",
|
||||
"string": "video/3gpp",
|
||||
"mainType": "video",
|
||||
"subType": "3gpp",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "3gpp",
|
||||
"fullSuffix": ".3gpp"
|
||||
},
|
||||
"type": "video/3gpp",
|
||||
"string": "video/3gpp",
|
||||
"suffixes": [
|
||||
"3gpp",
|
||||
"3gp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/mp4",
|
||||
"string": "video/mp4",
|
||||
"mainType": "video",
|
||||
"subType": "mp4",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "mp4",
|
||||
"fullSuffix": ".mp4"
|
||||
},
|
||||
"type": "video/mp4",
|
||||
"string": "video/mp4",
|
||||
"suffixes": [
|
||||
"mp4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/mpeg",
|
||||
"string": "video/mpeg",
|
||||
"mainType": "video",
|
||||
"subType": "mpeg",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "mpg",
|
||||
"fullSuffix": ".mpg"
|
||||
},
|
||||
"type": "video/mpeg",
|
||||
"string": "video/mpeg",
|
||||
"suffixes": [
|
||||
"mpg",
|
||||
"mpeg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/ogg",
|
||||
"string": "video/ogg",
|
||||
"mainType": "video",
|
||||
"subType": "ogg",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "ogv",
|
||||
"fullSuffix": ".ogv"
|
||||
},
|
||||
"type": "video/ogg",
|
||||
"string": "video/ogg",
|
||||
"suffixes": [
|
||||
"ogv"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/webm",
|
||||
"string": "video/webm",
|
||||
"mainType": "video",
|
||||
"subType": "webm",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "webm",
|
||||
"fullSuffix": ".webm"
|
||||
},
|
||||
"type": "video/webm",
|
||||
"string": "video/webm",
|
||||
"suffixes": [
|
||||
"webm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "video/x-msvideo",
|
||||
"string": "video/x-msvideo",
|
||||
"mainType": "video",
|
||||
"subType": "x-msvideo",
|
||||
"delimiter": ".",
|
||||
"firstSuffix": {
|
||||
"suffix": "avi",
|
||||
"fullSuffix": ".avi"
|
||||
},
|
||||
"type": "video/x-msvideo",
|
||||
"string": "video/x-msvideo",
|
||||
"suffixes": [
|
||||
"avi"
|
||||
]
|
||||
@@ -1863,18 +1969,8 @@
|
||||
"output": {
|
||||
"formats": [
|
||||
{
|
||||
"MediaType": "text/html",
|
||||
"mediaType": "text/html",
|
||||
"name": "HTML",
|
||||
"mediaType": {
|
||||
"type": "text/html",
|
||||
"string": "text/html",
|
||||
"mainType": "text",
|
||||
"subType": "html",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"html"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "index",
|
||||
"rel": "canonical",
|
||||
@@ -1887,18 +1983,8 @@
|
||||
"weight": 10
|
||||
},
|
||||
{
|
||||
"MediaType": "text/html",
|
||||
"mediaType": "text/html",
|
||||
"name": "AMP",
|
||||
"mediaType": {
|
||||
"type": "text/html",
|
||||
"string": "text/html",
|
||||
"mainType": "text",
|
||||
"subType": "html",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"html"
|
||||
]
|
||||
},
|
||||
"path": "amp",
|
||||
"baseName": "index",
|
||||
"rel": "amphtml",
|
||||
@@ -1911,18 +1997,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "text/css",
|
||||
"mediaType": "text/css",
|
||||
"name": "CSS",
|
||||
"mediaType": {
|
||||
"type": "text/css",
|
||||
"string": "text/css",
|
||||
"mainType": "text",
|
||||
"subType": "css",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"css"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "styles",
|
||||
"rel": "stylesheet",
|
||||
@@ -1935,18 +2011,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "text/csv",
|
||||
"mediaType": "text/csv",
|
||||
"name": "CSV",
|
||||
"mediaType": {
|
||||
"type": "text/csv",
|
||||
"string": "text/csv",
|
||||
"mainType": "text",
|
||||
"subType": "csv",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"csv"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "index",
|
||||
"rel": "alternate",
|
||||
@@ -1959,18 +2025,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "text/calendar",
|
||||
"mediaType": "text/calendar",
|
||||
"name": "Calendar",
|
||||
"mediaType": {
|
||||
"type": "text/calendar",
|
||||
"string": "text/calendar",
|
||||
"mainType": "text",
|
||||
"subType": "calendar",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"ics"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "index",
|
||||
"rel": "alternate",
|
||||
@@ -1983,18 +2039,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "application/json",
|
||||
"mediaType": "application/json",
|
||||
"name": "JSON",
|
||||
"mediaType": {
|
||||
"type": "application/json",
|
||||
"string": "application/json",
|
||||
"mainType": "application",
|
||||
"subType": "json",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"json"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "index",
|
||||
"rel": "alternate",
|
||||
@@ -2007,18 +2053,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "text/plain",
|
||||
"mediaType": "text/plain",
|
||||
"name": "ROBOTS",
|
||||
"mediaType": {
|
||||
"type": "text/plain",
|
||||
"string": "text/plain",
|
||||
"mainType": "text",
|
||||
"subType": "plain",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"txt"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "robots",
|
||||
"rel": "alternate",
|
||||
@@ -2031,18 +2067,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "application/rss+xml",
|
||||
"mediaType": "application/rss+xml",
|
||||
"name": "RSS",
|
||||
"mediaType": {
|
||||
"type": "application/rss+xml",
|
||||
"string": "application/rss+xml",
|
||||
"mainType": "application",
|
||||
"subType": "rss",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"xml"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "index",
|
||||
"rel": "alternate",
|
||||
@@ -2055,18 +2081,8 @@
|
||||
"weight": 0
|
||||
},
|
||||
{
|
||||
"MediaType": "application/xml",
|
||||
"mediaType": "application/xml",
|
||||
"name": "Sitemap",
|
||||
"mediaType": {
|
||||
"type": "application/xml",
|
||||
"string": "application/xml",
|
||||
"mainType": "application",
|
||||
"subType": "xml",
|
||||
"delimiter": ".",
|
||||
"suffixes": [
|
||||
"xml"
|
||||
]
|
||||
},
|
||||
"path": "",
|
||||
"baseName": "sitemap",
|
||||
"rel": "sitemap",
|
||||
@@ -2299,7 +2315,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"Example": "AMP home, French language\"",
|
||||
"Example": "AMP home, French language",
|
||||
"Kind": "home",
|
||||
"OutputFormat": "AMP",
|
||||
"Suffix": "html",
|
||||
@@ -4360,16 +4376,40 @@
|
||||
]
|
||||
},
|
||||
"Contains": {
|
||||
"Description": "",
|
||||
"Args": null,
|
||||
"Description": "Contains reports whether substr is in s.",
|
||||
"Args": [
|
||||
"s",
|
||||
"substr"
|
||||
],
|
||||
"Aliases": null,
|
||||
"Examples": null
|
||||
"Examples": [
|
||||
[
|
||||
"{{ strings.Contains \"abc\" \"b\" }}",
|
||||
"true"
|
||||
],
|
||||
[
|
||||
"{{ strings.Contains \"abc\" \"d\" }}",
|
||||
"false"
|
||||
]
|
||||
]
|
||||
},
|
||||
"ContainsAny": {
|
||||
"Description": "",
|
||||
"Args": null,
|
||||
"Description": "ContainsAny reports whether any Unicode code points in chars are within s.",
|
||||
"Args": [
|
||||
"s",
|
||||
"chars"
|
||||
],
|
||||
"Aliases": null,
|
||||
"Examples": null
|
||||
"Examples": [
|
||||
[
|
||||
"{{ strings.ContainsAny \"abc\" \"bcd\" }}",
|
||||
"true"
|
||||
],
|
||||
[
|
||||
"{{ strings.ContainsAny \"abc\" \"def\" }}",
|
||||
"false"
|
||||
]
|
||||
]
|
||||
},
|
||||
"Count": {
|
||||
"Description": "Count counts the number of non-overlapping instances of substr in s.\nIf substr is an empty string, Count returns 1 + the number of Unicode code points in s.",
|
||||
|
||||
Reference in New Issue
Block a user