From f775475c71e6d1239a0b188ab2d8fe49395b45e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 28 Feb 2025 19:58:23 +0100 Subject: [PATCH] docs: swap _build to build usable since Hugo 0.123.0 --- CHANGELOG.md | 2 +- content/_relearn/_index.md | 2 +- content/_relearn/searchpage/_index.md | 2 +- docs/content/_index.en.md | 2 +- docs/content/_index.pir.md | 2 +- docs/content/configuration/sidebar/menus/_index.en.md | 6 +++--- docs/content/introduction/changelog/5/13/002.en.md | 2 +- docs/content/introduction/releasenotes/5/9.en.md | 4 ++-- docs/content/introduction/releasenotes/legend.pir.md | 2 +- docs/content/more/_index.en.md | 2 +- docs/content/more/_index.pir.md | 2 +- docs/content/more/credits/_index.en.md | 2 +- docs/content/more/credits/_index.pir.md | 2 +- .../children-1/children-1-1/children-1-1-2/_index.en.md | 2 +- .../children-1/children-1-1/children-1-1-2/_index.pir.md | 2 +- docs/content/showcase/_index.en.md | 2 +- docs/content/showcase/_index.pir.md | 2 +- layouts/partials/version.txt | 2 +- 18 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb4cd0842..036b82169c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -779,7 +779,7 @@ ### 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) --- diff --git a/content/_relearn/_index.md b/content/_relearn/_index.md index 3d92033868..ea9ad613de 100644 --- a/content/_relearn/_index.md +++ b/content/_relearn/_index.md @@ -1,5 +1,5 @@ +++ -[_build] +[build] render = "never" list = "never" publishResources = false diff --git a/content/_relearn/searchpage/_index.md b/content/_relearn/searchpage/_index.md index 3d92033868..ea9ad613de 100644 --- a/content/_relearn/searchpage/_index.md +++ b/content/_relearn/searchpage/_index.md @@ -1,5 +1,5 @@ +++ -[_build] +[build] render = "never" list = "never" publishResources = false diff --git a/docs/content/_index.en.md b/docs/content/_index.en.md index be04e75f55..00c04af5a2 100644 --- a/docs/content/_index.en.md +++ b/docs/content/_index.en.md @@ -6,7 +6,7 @@ type = "home" [cascade._target] path = "/introduction/changelog/*/*/*" [cascade.params] - [cascade.params._build] + [cascade.params.build] render = "never" +++ {{% replaceRE "https://mcshelby.github.io/hugo-theme-relearn/" "" %}} diff --git a/docs/content/_index.pir.md b/docs/content/_index.pir.md index e145cd749d..47e265bdde 100644 --- a/docs/content/_index.pir.md +++ b/docs/content/_index.pir.md @@ -6,7 +6,7 @@ type = "home" [cascade._target] path = "/introduction/changelog/*/*/*" [cascade.params] - [cascade.params._build] + [cascade.params.build] render = "never" +++ {{< piratify true >}} \ No newline at end of file diff --git a/docs/content/configuration/sidebar/menus/_index.en.md b/docs/content/configuration/sidebar/menus/_index.en.md index f245f9a05c..54fdc9cb41 100644 --- a/docs/content/configuration/sidebar/menus/_index.en.md +++ b/docs/content/configuration/sidebar/menus/_index.en.md @@ -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 {{< multiconfig fm=true >}} -[_build] +[build] render = 'never' {{< /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" >}} title = 'Showcase' - [_build] + [build] render = 'always' list = 'never' 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. {{< multiconfig fm=true file="content/more/_index.en.md" >}} - [_build] + [build] render = 'never' list = 'never' publishResources = false diff --git a/docs/content/introduction/changelog/5/13/002.en.md b/docs/content/introduction/changelog/5/13/002.en.md index 6f30d256b4..5b3cfa1247 100644 --- a/docs/content/introduction/changelog/5/13/002.en.md +++ b/docs/content/introduction/changelog/5/13/002.en.md @@ -2,4 +2,4 @@ ### 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) diff --git a/docs/content/introduction/releasenotes/5/9.en.md b/docs/content/introduction/releasenotes/5/9.en.md index 145c03f5e3..6108379a0f 100644 --- a/docs/content/introduction/releasenotes/5/9.en.md +++ b/docs/content/introduction/releasenotes/5/9.en.md @@ -20,7 +20,7 @@ weight = -9 {{< multiconfig fm=true >}} title = 'Showcase' - [_build] + [build] render = 'always' list = 'never' 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. {{< multiconfig fm=true >}} - [_build] + [build] render = 'never' list = 'never' publishResources = false diff --git a/docs/content/introduction/releasenotes/legend.pir.md b/docs/content/introduction/releasenotes/legend.pir.md index 40ff049052..5bec1c77d7 100644 --- a/docs/content/introduction/releasenotes/legend.pir.md +++ b/docs/content/introduction/releasenotes/legend.pir.md @@ -1,5 +1,5 @@ +++ -[_build] +[build] render = "never" list = "never" +++ diff --git a/docs/content/more/_index.en.md b/docs/content/more/_index.en.md index 7ed046eb0d..d325a5f52b 100644 --- a/docs/content/more/_index.en.md +++ b/docs/content/more/_index.en.md @@ -1,5 +1,5 @@ +++ -[_build] +[build] render = "never" list = "never" publishResources = false diff --git a/docs/content/more/_index.pir.md b/docs/content/more/_index.pir.md index fc0eca47bd..6228f319d7 100644 --- a/docs/content/more/_index.pir.md +++ b/docs/content/more/_index.pir.md @@ -1,5 +1,5 @@ +++ -[_build] +[build] render = "never" list = "never" publishResources = false diff --git a/docs/content/more/credits/_index.en.md b/docs/content/more/credits/_index.en.md index 7badc45d3d..77cb11dce4 100644 --- a/docs/content/more/credits/_index.en.md +++ b/docs/content/more/credits/_index.en.md @@ -1,7 +1,7 @@ +++ menuPre = " " title = "Credits" -[_build] +[build] list = "never" +++ diff --git a/docs/content/more/credits/_index.pir.md b/docs/content/more/credits/_index.pir.md index 3cd0563d6a..8a2c16ed14 100644 --- a/docs/content/more/credits/_index.pir.md +++ b/docs/content/more/credits/_index.pir.md @@ -1,7 +1,7 @@ +++ menuPre = " " title = "Crrredits" -[_build] +[build] list = "never" +++ {{< piratify >}} \ No newline at end of file diff --git a/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md b/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md index 2ea31286f0..c521b969b9 100644 --- a/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md +++ b/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md @@ -2,7 +2,7 @@ description = "This is a demo child page" tags = ["children", "headless", "non-hidden"] title = "page 1-1-2 (headless)" -[_build] +[build] render = "never" +++ diff --git a/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.pir.md b/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.pir.md index 3305c6dfe3..36bfe4e6dc 100644 --- a/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.pir.md +++ b/docs/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.pir.md @@ -2,7 +2,7 @@ description = "This be a demo child plank" tags = ["children", "headless", "non-hidden"] title = "plank 1-1-2 (headless)" -[_build] +[build] render = "never" +++ {{< piratify >}} \ No newline at end of file diff --git a/docs/content/showcase/_index.en.md b/docs/content/showcase/_index.en.md index 62633f70c6..c416932b5d 100644 --- a/docs/content/showcase/_index.en.md +++ b/docs/content/showcase/_index.en.md @@ -1,7 +1,7 @@ +++ menuPre = " " title = "Showcase" -[_build] +[build] render = "always" list = "never" publishResources = true diff --git a/docs/content/showcase/_index.pir.md b/docs/content/showcase/_index.pir.md index 3c7712542d..fd157cccad 100644 --- a/docs/content/showcase/_index.pir.md +++ b/docs/content/showcase/_index.pir.md @@ -1,7 +1,7 @@ +++ menuPre = " " title = "Showcase" -[_build] +[build] render = "always" list = "never" publishResources = true diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 25265223af..8326445bde 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.4.1+8f55271c7781cd53f9f3c9145035f2cbe0b4dfb5 \ No newline at end of file +7.4.1+db407309e13daba612df389c37de4cbb156734d2 \ No newline at end of file