Squashed 'docs/' changes from 9cece6640..fb551cc75

fb551cc75 Update index.md
7af894857 Update index.md
d235753ea Hugo 0.82.1
e03e72deb Merge branch 'temp0821'
e62648961 Merge branch 'release-0.82.1'
e1ab0f6eb releaser: Add release notes to /docs for release of 0.82.1
5d354c38d Replaced ``` code blocks with Code Toggler
c9d065c20 Remove duplicate YAML keys (#1420)
8ae31e701 Add webp image encoding support
848f2af26 Update internal.md (#1407)
c103a86a4 Fix `ref` shortcode example output (#1409)
9f8ba56dc Remove leading dot from where function KEY (#1419)
363251a51 Improve presentation of template lookup order (#1382)
b73da986d Improve description of Page Resources (#1381)
4e0bb96d5 Rework robots.txt page (#1405)
edf893e6f Update migrations.md (#1412)
450f1580b Add link to `site` function doc (#1417)
cfffa6e6f Added one extension to the list (#1414)
05f1665a0 Update theme
5de0b1c6a Update theme
250e20552 Add hugo.IsExtended
dea5e1fd7 Fix typo on merge function page (#1408)
1bbed2cf3 Update configuration.md
be0b64a46 Omit ISO
cbb5b8367 Fix `dateFormat` documentation
698f15466 Regenerate the docshelper
f9a8a7cb6 Update multilingual.md
a22dc6267 Fix grammar (#1398)
eb98b0997 Fix pretty URL example (#1397)
f4c4153dc Mention date var complementation in post scheduling (#1396)
17fae284c Fix resources.ExecuteAsTemplate argument order (#1394)
97e2c2abb Use code-toggle shortcode in `multilingual.md` (#1388)
3a84929bb Harmonize capitalization (#1393)
17f15daa6 fix file naming used in example (#1392)
5d97b6a18 Add slice syntax to sections permalinks config
00665b97b Improve description of `site.md`
edcf5e3fc Fix example in `merge.md`
f275ab778 Update postprocess.md
9593e3991 Fix file name
59bd9656f Update postprocess.md
1172fb6d0 Update to theNewDynamic repository (#1263)
f5b5c1d2c Update Hugo container image
4f2e92f2a Adapt anchorize.md to Goldmark
98aa19073 Directly link to `highlight` shortcode (#1384)
4c75c2422 Fix header level
f15c06f23 markdownify: add note about render-hooks and .RenderString (#1281)
69c82eb68 Remove Blackfriday reference from shortcode desc (#1380)
36de478df Update description of ignoreFiles config setting (#1377)
6337699d8 Remove "Authors" page from documentation (#1371)
35e73ca90 fix indent in example (#1372)
d3f01f19a Remove opening body tag from header example (#1376)
341a5a7d8 Update index.md
c9bfdbee6 Release 0.82.0
119644949 releaser: Add release notes to /docs for release of 0.82.0
32efaed78 docs: Regenerate docs helper
dea5449a2 docs: Regen CLI docs
eeab18fce Merge commit '81689af79901f0cdaff765cda6322dd4a9a7ccb3'
d508a1259 Attributes for code fences should be placed after the lang indicator only
c80905cef deps: Update to esbuild v0.9.0
95350eb79 Add support for Google Analytics v4
02d36f9bc Allow markdown attribute lists to be used in title render hooks
7df220a64 Merge commit '9d31f650da964a52f05fc27b7fb99cf3e09778cf'
d80bf61b7 Fixes #7698.

git-subtree-dir: docs
git-subtree-split: fb551cc750
This commit is contained in:
Bjørn Erik Pedersen
2021-04-20 20:21:45 +02:00
parent 81689af799
commit 07b8d9466d
108 changed files with 661 additions and 612 deletions
+200 -160
View File
@@ -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.",