You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/configuration/all.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,10 +59,26 @@ dataDir
59
59
: (`string`) The designated directory for data files. Default is `data`. {{% module-mounts-note %}}
60
60
61
61
defaultContentLanguage
62
-
: (`string`) The project's default language key, conforming to the syntax described in [RFC 5646]. This value must match one of the defined language keys. Default is `en`.
62
+
: (`string`) The project's default content language key, conforming to the syntax described in [RFC 5646]. This value must match one of the defined language keys. Default is `en`.
63
63
64
64
defaultContentLanguageInSubdir
65
-
: (`bool`) Whether to publish the default language site to a subdirectory matching the `defaultContentLanguage`. Default is `false`.
65
+
: (`bool`) Whether to publish the default content language site to a subdirectory matching the `defaultContentLanguage`. Default is `false`.
66
+
67
+
defaultContentRole
68
+
: {{< new-in 0.150.0 />}}
69
+
: (`string`) The site's default content role. Default is `guest`.
70
+
71
+
defaultContentRoleInSubdir
72
+
: {{< new-in 0.150.0 />}}
73
+
: (`bool`) Whether to publish the default content role to a subdirectory matching the `defaultContentRole`. Default is `false`.
74
+
75
+
defaultContentVersion
76
+
: {{< new-in 0.150.0 />}}
77
+
: (`string`) The site's default content version. Default is `TODO`.
78
+
79
+
defaultContentVersionInSubdir
80
+
: {{< new-in 0.150.0 />}}
81
+
: (`bool`) Whether to publish the default content version to a subdirectory matching the `defaultContentVersion`. Default is `false`.
66
82
67
83
defaultOutputFormat
68
84
: (`string`) The default output format for the site. If unspecified, the first available format in the defined order (by weight, then alphabetically) will be used.
@@ -240,6 +256,9 @@ renderSegments
240
256
resourceDir
241
257
: (`string`) The designated directory for caching output from [asset pipelines](g). Default is `resources`.
242
258
259
+
roles
260
+
: See [configure roles](/configuration/roles/).
261
+
243
262
security
244
263
: See [configure security](/configuration/security/).
245
264
@@ -294,6 +313,9 @@ titleCaseStyle
294
313
uglyurls
295
314
: See [configure ugly URLs](/configuration/ugly-urls/).
296
315
316
+
versions
317
+
: See [configure versions](/configuration/versions/).
318
+
297
319
## Cache directory
298
320
299
321
Hugo's file cache directory is configurable via the [`cacheDir`] configuration option or the `HUGO_CACHEDIR` environment variable. If neither is set, Hugo will use, in order of preference:
Copy file name to clipboardExpand all lines: content/en/content-management/front-matter.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,14 @@ isCJKLanguage
70
70
keywords
71
71
: (`string array`) An array of keywords, typically rendered within a `meta` element within the `head` element of the published HTML file, or used as a [taxonomy](g) to classify content. Access these values from a template using the [`Keywords`] method on a `Page` object.
72
72
73
+
languageDelegees
74
+
: {{< new-in 0.150.0 />}}
75
+
: (`TODO`) TODO.
76
+
77
+
languages
78
+
: {{< new-in 0.150.0 />}}
79
+
: (`TODO`) TODO.
80
+
73
81
lastmod
74
82
: (`string`) The date that the page was last modified. Note that the TOML format also supports unquoted date/time values. See the [dates](#dates) section for examples. Access this value from a template using the [`Lastmod`] method on a `Page` object.
75
83
@@ -107,6 +115,14 @@ published
107
115
resources
108
116
: (`map array`) An array of maps to provide metadata for [page resources].
109
117
118
+
roleDelegees
119
+
: {{< new-in 0.150.0 />}}
120
+
: (`TODO`) TODO.
121
+
122
+
roles
123
+
: {{< new-in 0.150.0 />}}
124
+
: (`TODO`) TODO.
125
+
110
126
sitemap
111
127
: (`map`) A map of sitemap options. See the [sitemap templates] page for details. Access these values from a template using the [`Sitemap`] method on a `Page` object.
112
128
@@ -131,6 +147,14 @@ unpublishdate
131
147
url
132
148
: (`string`) Overrides the entire URL path. Applicable to regular pages and section pages. See the [URL management] page for details.
133
149
150
+
versionDelegees
151
+
: {{< new-in 0.150.0 />}}
152
+
: (`TODO`) TODO.
153
+
154
+
versions
155
+
: {{< new-in 0.150.0 />}}
156
+
: (`TODO`) TODO.
157
+
134
158
weight
135
159
: (`int`) The page [weight](g), used to order the page within a [page collection](g). Access this value from a template using the [`Weight`] method on a `Page` object.
0 commit comments