docs: swap _build to build

usable since Hugo 0.123.0
This commit is contained in:
Sören Weber 2025-02-28 19:58:23 +01:00
parent db407309e1
commit f775475c71
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
18 changed files with 21 additions and 21 deletions

View file

@ -779,7 +779,7 @@
### Fixes ### Fixes
- [**bug**] print: enable print for pages with _build options [#522](https://github.com/McShelby/hugo-theme-relearn/issues/522) - [**bug**] print: enable print for pages with build options [#522](https://github.com/McShelby/hugo-theme-relearn/issues/522)
--- ---

View file

@ -1,5 +1,5 @@
+++ +++
[_build] [build]
render = "never" render = "never"
list = "never" list = "never"
publishResources = false publishResources = false

View file

@ -1,5 +1,5 @@
+++ +++
[_build] [build]
render = "never" render = "never"
list = "never" list = "never"
publishResources = false publishResources = false

View file

@ -6,7 +6,7 @@ type = "home"
[cascade._target] [cascade._target]
path = "/introduction/changelog/*/*/*" path = "/introduction/changelog/*/*/*"
[cascade.params] [cascade.params]
[cascade.params._build] [cascade.params.build]
render = "never" render = "never"
+++ +++
{{% replaceRE "https://mcshelby.github.io/hugo-theme-relearn/" "" %}} {{% replaceRE "https://mcshelby.github.io/hugo-theme-relearn/" "" %}}

View file

@ -6,7 +6,7 @@ type = "home"
[cascade._target] [cascade._target]
path = "/introduction/changelog/*/*/*" path = "/introduction/changelog/*/*/*"
[cascade.params] [cascade.params]
[cascade.params._build] [cascade.params.build]
render = "never" render = "never"
+++ +++
{{< piratify true >}} {{< piratify true >}}

View file

@ -120,7 +120,7 @@ To stay with the [initial example](authoring/structure): Suppose you want `log/f
For this, open `content/log/first-day/_index.md` and add the following front matter For this, open `content/log/first-day/_index.md` and add the following front matter
{{< multiconfig fm=true >}} {{< multiconfig fm=true >}}
[_build] [build]
render = 'never' render = 'never'
{{< /multiconfig >}} {{< /multiconfig >}}
@ -314,7 +314,7 @@ Sometimes you want to hide pages from the page menu but instead want to show the
{{< multiconfig fm=true file="content/showcase/_index.en.md" >}} {{< multiconfig fm=true file="content/showcase/_index.en.md" >}}
title = 'Showcase' title = 'Showcase'
[_build] [build]
render = 'always' render = 'always'
list = 'never' list = 'never'
publishResources = true publishResources = true
@ -323,7 +323,7 @@ Sometimes you want to hide pages from the page menu but instead want to show the
2. Or, put a child page _inside_ a headless branch bundle with the following front matter in the bundle. This causes the child but not the branch bundle to be contained in the sitemap. 2. Or, put a child page _inside_ a headless branch bundle with the following front matter in the bundle. This causes the child but not the branch bundle to be contained in the sitemap.
{{< multiconfig fm=true file="content/more/_index.en.md" >}} {{< multiconfig fm=true file="content/more/_index.en.md" >}}
[_build] [build]
render = 'never' render = 'never'
list = 'never' list = 'never'
publishResources = false publishResources = false

View file

@ -2,4 +2,4 @@
### Fixes ### Fixes
- [**bug**] print: enable print for pages with _build options [#522](https://github.com/McShelby/hugo-theme-relearn/issues/522) - [**bug**] print: enable print for pages with build options [#522](https://github.com/McShelby/hugo-theme-relearn/issues/522)

View file

@ -20,7 +20,7 @@ weight = -9
{{< multiconfig fm=true >}} {{< multiconfig fm=true >}}
title = 'Showcase' title = 'Showcase'
[_build] [build]
render = 'always' render = 'always'
list = 'never' list = 'never'
publishResources = true publishResources = true
@ -29,7 +29,7 @@ weight = -9
2. Store the page file for below a parent headless branch bundle and add the following front matter to he **parent** (see docs `content/more/_index.en.md`). **Don't give this page a `title`** as this will cause it to be shown in the breadcrumbs - a thing you most likely don't want. 2. Store the page file for below a parent headless branch bundle and add the following front matter to he **parent** (see docs `content/more/_index.en.md`). **Don't give this page a `title`** as this will cause it to be shown in the breadcrumbs - a thing you most likely don't want.
{{< multiconfig fm=true >}} {{< multiconfig fm=true >}}
[_build] [build]
render = 'never' render = 'never'
list = 'never' list = 'never'
publishResources = false publishResources = false

View file

@ -1,5 +1,5 @@
+++ +++
[_build] [build]
render = "never" render = "never"
list = "never" list = "never"
+++ +++

View file

@ -1,5 +1,5 @@
+++ +++
[_build] [build]
render = "never" render = "never"
list = "never" list = "never"
publishResources = false publishResources = false

View file

@ -1,5 +1,5 @@
+++ +++
[_build] [build]
render = "never" render = "never"
list = "never" list = "never"
publishResources = false publishResources = false

View file

@ -1,7 +1,7 @@
+++ +++
menuPre = "<i class='fa-fw fas fa-bullhorn'></i> " menuPre = "<i class='fa-fw fas fa-bullhorn'></i> "
title = "Credits" title = "Credits"
[_build] [build]
list = "never" list = "never"
+++ +++

View file

@ -1,7 +1,7 @@
+++ +++
menuPre = "<i class='fa-fw fas fa-bullhorn'></i> " menuPre = "<i class='fa-fw fas fa-bullhorn'></i> "
title = "Crrredits" title = "Crrredits"
[_build] [build]
list = "never" list = "never"
+++ +++
{{< piratify >}} {{< piratify >}}

View file

@ -2,7 +2,7 @@
description = "This is a demo child page" description = "This is a demo child page"
tags = ["children", "headless", "non-hidden"] tags = ["children", "headless", "non-hidden"]
title = "page 1-1-2 (headless)" title = "page 1-1-2 (headless)"
[_build] [build]
render = "never" render = "never"
+++ +++

View file

@ -2,7 +2,7 @@
description = "This be a demo child plank" description = "This be a demo child plank"
tags = ["children", "headless", "non-hidden"] tags = ["children", "headless", "non-hidden"]
title = "plank 1-1-2 (headless)" title = "plank 1-1-2 (headless)"
[_build] [build]
render = "never" render = "never"
+++ +++
{{< piratify >}} {{< piratify >}}

View file

@ -1,7 +1,7 @@
+++ +++
menuPre = "<i class='fa-fw fas fa-camera'></i> " menuPre = "<i class='fa-fw fas fa-camera'></i> "
title = "Showcase" title = "Showcase"
[_build] [build]
render = "always" render = "always"
list = "never" list = "never"
publishResources = true publishResources = true

View file

@ -1,7 +1,7 @@
+++ +++
menuPre = "<i class='fa-fw fas fa-camera'></i> " menuPre = "<i class='fa-fw fas fa-camera'></i> "
title = "Showcase" title = "Showcase"
[_build] [build]
render = "always" render = "always"
list = "never" list = "never"
publishResources = true publishResources = true

View file

@ -1 +1 @@
7.4.1+8f55271c7781cd53f9f3c9145035f2cbe0b4dfb5 7.4.1+db407309e13daba612df389c37de4cbb156734d2