Skip to content

Commit e4f6b9e

Browse files
committed
Merge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'
2 parents 266d46d + bb147f9 commit e4f6b9e

File tree

162 files changed

+1626
-2290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+1626
-2290
lines changed

‎docs/.cspell.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"# cspell: ignore hugo terminology",
7171
"# ----------------------------------------------------------------------",
7272
"alignx",
73+
"aligny",
7374
"attrlink",
7475
"canonify",
7576
"codeowners",

‎docs/.prettierignore‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
**/icons.html
33

44
# These are whitespace sensitive.
5-
layouts/_default/_markup/render-code*
6-
layouts/_default/_markup/render-table*
7-
layouts/shortcodes/glossary-term.html
8-
layouts/shortcodes/glossary.html
9-
layouts/shortcodes/highlighting-styles.html
10-
layouts/shortcodes/list-pages-in-section.html
11-
layouts/shortcodes/quick-reference.html
5+
layouts/_markup/render-code*
6+
layouts/_markup/render-table*
7+
layouts/_shortcodes/glossary-term.html
8+
layouts/_shortcodes/glossary.html
9+
layouts/_shortcodes/highlighting-styles.html
10+
layouts/_shortcodes/list-pages-in-section.html
11+
layouts/_shortcodes/quick-reference.html
1212

1313
# No root node.
14-
layouts/partials/layouts/head/head.html
14+
layouts/_partials/layouts/head/head.html
1515

1616
# Auto generated.
1717
assets/css/components/chroma*.css
Lines changed: 100 additions & 0 deletions
Loading

‎docs/content/en/_common/methods/page/next-and-prev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ content/
3232

3333
And these templates:
3434

35-
```go-html-template {file="layouts/_default/list.html"}
35+
```go-html-template {file="layouts/section.html"}
3636
{{ range .Pages.ByWeight }}
3737
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
3838
{{ end }}
3939
```
4040

41-
```go-html-template {file="layouts/_default/single.html"}
41+
```go-html-template {file="layouts/page.html"}
4242
{{ with .Prev }}
4343
<a href="{{ .RelPermalink }}">Previous</a>
4444
{{ end }}

‎docs/content/en/_common/methods/page/nextinsection-and-previnsection.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ content/
3232

3333
And these templates:
3434

35-
```go-html-template {file="layouts/_default/list.html"}
35+
```go-html-template {file="layouts/section.html"}
3636
{{ range .Pages.ByWeight }}
3737
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
3838
{{ end }}
3939
```
4040

41-
```go-html-template {file="layouts/_default/single.html"}
41+
```go-html-template {file="layouts/page.html"}
4242
{{ with .PrevInSection }}
4343
<a href="{{ .RelPermalink }}">Previous</a>
4444
{{ end }}

‎docs/content/en/_common/methods/pages/next-and-prev.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ content/
3232

3333
And these templates:
3434

35-
```go-html-template {file="layouts/_default/list.html"}
35+
```go-html-template {file="layouts/section.html"}
3636
{{ range .Pages.ByWeight }}
3737
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
3838
{{ end }}
3939
```
4040

41-
```go-html-template {file="layouts/_default/single.html"}
41+
```go-html-template {file="layouts/page.html"}
4242
{{ $pages := .CurrentSection.Pages.ByWeight }}
4343
4444
{{ with $pages.Prev . }}
@@ -57,7 +57,7 @@ When you visit page-2:
5757

5858
To reverse the meaning of _next_ and _previous_ you can chain the [`Reverse`] method to the page collection definition:
5959

60-
```go-html-template {file="layouts/_default/single.html"}
60+
```go-html-template {file="layouts/page.html"}
6161
{{ $pages := .CurrentSection.Pages.ByWeight.Reverse }}
6262
6363
{{ with $pages.Prev . }}

‎docs/content/en/_common/methods/taxonomy/get-a-taxonomy-object.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To capture the "genres" `Taxonomy` object from within any template, use the [`Ta
3434

3535
To capture the "genres" `Taxonomy` object when rendering its page with a taxonomy template, use the [`Terms`] method on the page's [`Data`] object:
3636

37-
```go-html-template {file="layouts/_default/taxonomy.html"}
37+
```go-html-template {file="layouts/taxonomy.html"}
3838
{{ $taxonomyObject := .Data.Terms }}
3939
```
4040

‎docs/content/en/_common/render-hooks/pageinner.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ _comment: Do not remove front matter.
88

99
The primary use case for `PageInner` is to resolve links and [page resources](g) relative to an included `Page`. For example, create an "include" shortcode to compose a page from multiple content files, while preserving a global context for footnotes and the table of contents:
1010

11-
```go-html-template {file="layouts/shortcodes/include.html" copy=true}
11+
```go-html-template {file="layouts/_shortcodes/include.html" copy=true}
1212
{{ with .Get 0 }}
1313
{{ with $.Page.GetPage . }}
1414
{{- .RenderShortcodes }}

‎docs/content/en/configuration/all.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ disableKinds
8484
: (`[]string`) A slice of page [kinds](g) to disable during the build process, any of `404`, `home`, `page`, `robotstxt`, `rss`, `section`, `sitemap`, `taxonomy`, or `term`.
8585

8686
disableLanguages
87-
: (`[]string]`) A slice of language keys representing the languages to disable during the build process. Although this is functional, consider using the [`disabled`] key under each language instead.
87+
: (`[]string`) A slice of language keys representing the languages to disable during the build process. Although this is functional, consider using the [`disabled`] key under each language instead.
8888

8989
disableLiveReload
9090
: (`bool`) Whether to disable automatic live reloading of the browser window. Default is `false`.
@@ -123,7 +123,7 @@ ignoreCache
123123
: (`bool`) Whether to ignore the cache directory. Default is `false`.
124124

125125
ignoreFiles
126-
: (`[]string]`) A slice of [regular expressions](g) used to exclude specific files from a build. These expressions are matched against the absolute file path and apply to files within the `content`, `data`, and `i18n` directories. For more advanced file exclusion options, see the section on [module mounts].
126+
: (`[]string`) A slice of [regular expressions](g) used to exclude specific files from a build. These expressions are matched against the absolute file path and apply to files within the `content`, `data`, and `i18n` directories. For more advanced file exclusion options, see the section on [module mounts].
127127

128128
ignoreLogs
129129
: (`[]string`) A slice of message identifiers corresponding to warnings and errors you wish to suppress. See [`erroridf`] and [`warnidf`].
@@ -280,7 +280,7 @@ themesDir
280280
: (`string`) The designated directory for themes. Default is `themes`.
281281

282282
timeout
283-
: (`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`.
283+
: (`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`.
284284

285285
timeZone
286286
: (`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.

‎docs/content/en/configuration/introduction.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ my-project/
7979

8080
The root configuration keys are {{< root-configuration-keys >}}.
8181

82+
> [!note]
83+
> You must define `cascade` tables in the root configuration file. You cannot define `cascade` tables in a dedicated file. See issue [#12899] for details.
84+
85+
[#12899]: https://github.com/gohugoio/hugo/issues/12899
86+
8287
### Omit the root key
8388

8489
When splitting the configuration by root key, omit the root key in the component file. For example, these are equivalent:

0 commit comments

Comments
 (0)