Skip to content

Commit bb147f9

Browse files
committed
Squashed 'docs/' changes from b654fcba0..60dd993a6
60dd993a6 content: Update GitHub Pages workflow 6247e3590 content: Fix typo a22255b0b content: Update version references 21afec198 content: Update version reference 6226532c8 content: Update version reference 80d26621a content: Update version reference cda7135b5 content: Fix typo 70c509e8a content: Fix typo 136b20310 content: Change render hook example 038246c2f content: Fix accidental removal 441375fa4 netlify: Hugo 0.147.9 4a620931c content: Note that config/env/cascade.xxx is not supported 6d3a7587f config: Ignore front matter param override warnings 623b48624 content: Set searchable param to false for content/en/documentation.md d1b2aad69 content: Fix Codeberg deployment article 5e3d849b8 search: Use front matter parameter to control search indexing b4f90e39d content: Note that PATH segments must exclude project directory a81406e26 content: Create aliases for deleted template pages 7c3adc9ad content: Change order of template types e093eb036 content: Remove admonition from template types page 0015e7a9b content: Update to align with v0.146.0 template system (phase 1) cf986240d content: Update templates.Defer note ab51fdcc7 content: Use consistent templates.Defer examples b4f8e492f content: Fix formatting 62aa94add content: Fix typo 83747f36b content: Update FAQs fc644d894 Update netlify.toml 4151f3a5b content: Fix typo 9452bca92 content: Update description ToMath strict option 982b863c3 content: Add instructions about deploying to root of user's Codeberg Pages fc7cd2878 theme: Generate QR code once per page 784891b87 content: Update links to the CommonMark specification 741113fb5 content: Fix incorrect link to Shortcodes tutorial c4962f1ac content: Update transform.ToMath ad7b87223 Update netlify.toml 2d64e57ae theme: Remove bullet from new-in badge 55a832f8e Update ToMath.md e1e624f49 content: Document transform.ToMath strict mode 2df6218f8 netlify: Hugo 0.147.6 0259b88f1 Revert "theme: Display date on news items from content adapter" 43b35e56a theme: Adjust admonition dark mode colors 2f15e9c34 theme: Add link to Mastodon d99e979d4 theme: Display date on news items from content adapter 6c93dac97 content: Clarify the AddResource content value 49006468e content: Describe Codeberg's Forgejo Actions be80c3b82 content: Update css.TailwindCSS opts b3ba4329c theme: Update css.TailwindCSS opts and remove tailwind.config.js 902e360b0 content: Update stylesheet link for katex.js 8b9e1ba3e content: Update stylesheet link for katex.js 7dae3b0e8 content: Update TailwindCSS instructions cb093d210 Update netlify.toml 577d6fbb1 content: Remove GitCMS for now 8352af6cd Updates for v0.147.4 2240f07a5 content: Fix typo 677b3fed3 Correct openapi3.Unmarshal example 580477aa5 content: Fix typo 0dc43b481 content: Add GitCMS to commercial front ends list ac4179f2b content: Fix relref shortcode examples a699d267b Fix typos 7e28c4380 Make sponsor logo responsive 8e05f0425 Update MaxInt64.md f715265d3 content: Document math.MaxInt64 0d57ff7d4 Update netlify.toml d210e3476 theme: Adjust sponsor e73444b43 content: Clarify page title values fd4c292b8 content: Fix links to Pandoc dd074dc67 content: Bump version in GitHub Pages example fe5537bb2 content: Describe the pandoc format 10834529e theme: Remove duplicate meta element 838706d6e theme: More changes related to new template system b0b6b1e69 Update new-templatesystem-overview.md e719d2360 Update new-templatesystem-overview.md ec2bbd395 Update new-templatesystem-overview.md 53319a681 Add a one pager about the new template system e17416c05 Fix the spelling issue on the Host on Render description e8e1c82aa content: Document range-over-int introduced in v0.123.0 bc478f98f content: Fix editing errors 606547b48 Update netlify.toml e224f3f82 content: Fix formatting 24e4acc41 content: Fix typo 1e773f34b content: Fix typo 5ef94a725 content: Document alternative to shuffle for large collections 7fe42d76c content: Fix sample code formatting 5d601448f content: Update mathematical markup guidance 63b4fe2c0 content: Update version references 722da91f1 content: Fix GO_VERSION in Netlify hosting example 8cc589c3a theme: Add current Hugo version to the header 37aa24ac5 netlify: Hugo 0.147.1 a80b25e24 content: Remove dated new-in 89dcf0f92 content: Fix path formatting 1a5191d78 content: Update transformation examples 3327065ab Update Text.md 557c10dd2 content: Miscellaneous updates for v0.147.0 0dae1a185 netlify: Hugo 0.147.0 9b44821c3 Merge branch 'tempv0.147.0' f1481e8c3 content: Update GitLab Pages workflow example 2e61a0360 content: Update content format descriptions fb42d7c2a images: Add option for vertical alignment to images.Text git-subtree-dir: docs git-subtree-split: 60dd993a651f1b58c5dabf0e3896f1e96bb846ff
1 parent b3d87dd commit bb147f9

File tree

162 files changed

+1629
-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

+1629
-2290
lines changed

‎.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",

‎.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

‎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 }}

‎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 }}

‎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 . }}

‎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

‎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 }}

‎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.

‎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)