mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-28 22:40:19 +00:00
docs: swap _build to build
usable since Hugo 0.123.0
This commit is contained in:
parent
db407309e1
commit
f775475c71
18 changed files with 21 additions and 21 deletions
|
@ -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)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
[_build]
|
||||
[build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
publishResources = false
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
[_build]
|
||||
[build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
publishResources = false
|
||||
|
|
|
@ -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/" "" %}}
|
||||
|
|
|
@ -6,7 +6,7 @@ type = "home"
|
|||
[cascade._target]
|
||||
path = "/introduction/changelog/*/*/*"
|
||||
[cascade.params]
|
||||
[cascade.params._build]
|
||||
[cascade.params.build]
|
||||
render = "never"
|
||||
+++
|
||||
{{< piratify true >}}
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
[_build]
|
||||
[build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
+++
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
[_build]
|
||||
[build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
publishResources = false
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
[_build]
|
||||
[build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
publishResources = false
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
menuPre = "<i class='fa-fw fas fa-bullhorn'></i> "
|
||||
title = "Credits"
|
||||
[_build]
|
||||
[build]
|
||||
list = "never"
|
||||
+++
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
menuPre = "<i class='fa-fw fas fa-bullhorn'></i> "
|
||||
title = "Crrredits"
|
||||
[_build]
|
||||
[build]
|
||||
list = "never"
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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"
|
||||
+++
|
||||
|
||||
|
|
|
@ -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 >}}
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
menuPre = "<i class='fa-fw fas fa-camera'></i> "
|
||||
title = "Showcase"
|
||||
[_build]
|
||||
[build]
|
||||
render = "always"
|
||||
list = "never"
|
||||
publishResources = true
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
menuPre = "<i class='fa-fw fas fa-camera'></i> "
|
||||
title = "Showcase"
|
||||
[_build]
|
||||
[build]
|
||||
render = "always"
|
||||
list = "never"
|
||||
publishResources = true
|
||||
|
|
|
@ -1 +1 @@
|
|||
7.4.1+8f55271c7781cd53f9f3c9145035f2cbe0b4dfb5
|
||||
7.4.1+db407309e13daba612df389c37de4cbb156734d2
|
Loading…
Add table
Reference in a new issue