From 557c10dd21258fb5b3fc7f8629e97d0d7a4d6681 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 25 Apr 2025 10:37:59 -0700 Subject: [PATCH] content: Miscellaneous updates for v0.147.0 --- .cspell.json | 1 + content/en/configuration/all.md | 2 +- content/en/functions/images/Text.md | 1 + content/en/shortcodes/vimeo.md | 2 +- content/en/shortcodes/youtube.md | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.cspell.json b/.cspell.json index bf61489da..16f9bd9f2 100644 --- a/.cspell.json +++ b/.cspell.json @@ -70,6 +70,7 @@ "# cspell: ignore hugo terminology", "# ----------------------------------------------------------------------", "alignx", + "aligny", "attrlink", "canonify", "codeowners", diff --git a/content/en/configuration/all.md b/content/en/configuration/all.md index 9bc05057f..cea9bd915 100644 --- a/content/en/configuration/all.md +++ b/content/en/configuration/all.md @@ -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. diff --git a/content/en/functions/images/Text.md b/content/en/functions/images/Text.md index 8f7e730ba..4ed9e2112 100644 --- a/content/en/functions/images/Text.md +++ b/content/en/functions/images/Text.md @@ -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 diff --git a/content/en/shortcodes/vimeo.md b/content/en/shortcodes/vimeo.md index 1164ce997..1bafb2ba8 100755 --- a/content/en/shortcodes/vimeo.md +++ b/content/en/shortcodes/vimeo.md @@ -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 />}} diff --git a/content/en/shortcodes/youtube.md b/content/en/shortcodes/youtube.md index ed3cf0632..2abc8592e 100755 --- a/content/en/shortcodes/youtube.md +++ b/content/en/shortcodes/youtube.md @@ -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 />}}