mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
content: Miscellaneous updates for v0.147.0
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
"# cspell: ignore hugo terminology",
|
||||
"# ----------------------------------------------------------------------",
|
||||
"alignx",
|
||||
"aligny",
|
||||
"attrlink",
|
||||
"canonify",
|
||||
"codeowners",
|
||||
|
||||
@@ -280,7 +280,7 @@ themesDir
|
||||
: (`string`) The designated directory for themes. Default is `themes`.
|
||||
|
||||
timeout
|
||||
: (`string`) The timeout for generating page content, either as a [duration] or in seconds. This timeout is used to prevent infinite recursion during content generation. You may need to increase this value if your pages take a long time to generate, for example, due to extensive image processing or reliance on remote content. Default is `30s`.
|
||||
: (`string`) The timeout for generating page content, either as a [duration] or in seconds. This timeout is used to prevent infinite recursion during content generation. You may need to increase this value if your pages take a long time to generate, for example, due to extensive image processing or reliance on remote content. Default is `60s`.
|
||||
|
||||
timeZone
|
||||
: (`string`) The time zone used to parse dates without time zone offsets, including front matter date fields and values passed to the [`time.AsTime`] and [`time.Format`] template functions. The list of valid values may be system dependent, but should include `UTC`, `Local`, and any location in the [IANA Time Zone Database]. For example, `America/Los_Angeles` and `Europe/Oslo` are valid time zones.
|
||||
|
||||
@@ -74,6 +74,7 @@ Create the filter, centering the text horizontally and vertically:
|
||||
{{ with $r = resources.Get $imagePath }}
|
||||
{{ $opts := dict
|
||||
"alignx" "center"
|
||||
"aligny" "center"
|
||||
"color" "#fbfaf5"
|
||||
"font" $font
|
||||
"linespacing" 8
|
||||
|
||||
@@ -30,7 +30,7 @@ Hugo renders this to:
|
||||
## Arguments
|
||||
|
||||
id
|
||||
: (string) The video `id`. Optional if the `id` is provided as a positional argument as shown in the example above.
|
||||
: (string) The video `id`. Optional if the `id` is the first and only positional argument.
|
||||
|
||||
allowFullScreen
|
||||
: {{< new-in 0.146.0 />}}
|
||||
|
||||
@@ -30,7 +30,7 @@ Hugo renders this to:
|
||||
## Arguments
|
||||
|
||||
id
|
||||
: (`string`) The video `id`. Optional if the `id` is provided as a positional argument as shown in the example above.
|
||||
: (`string`) The video `id`. Optional if the `id` is the first and only positional argument.
|
||||
|
||||
allowFullScreen
|
||||
: {{< new-in 0.125.0 />}}
|
||||
|
||||
Reference in New Issue
Block a user