mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 09:57:16 -04:00
content: Miscellaneous updates related to v0.149.0
- Refresh docs.yaml - Add new-in labels to new permalink tokens - Remove outdated new-in labels
This commit is contained in:
parent
3ccc439fc6
commit
3b9c3e2a1f
@ -65,6 +65,8 @@
|
|||||||
"prerendering",
|
"prerendering",
|
||||||
"redirection",
|
"redirection",
|
||||||
"redirections",
|
"redirections",
|
||||||
|
"slugified",
|
||||||
|
"slugify",
|
||||||
"subexpression",
|
"subexpression",
|
||||||
"suppressible",
|
"suppressible",
|
||||||
"synchronisation",
|
"synchronisation",
|
||||||
|
@ -27,12 +27,14 @@ _comment: Do not remove front matter.
|
|||||||
: The content's section.
|
: The content's section.
|
||||||
|
|
||||||
`:sectionslug`
|
`:sectionslug`
|
||||||
|
: {{< new-in 0.149.0 />}}
|
||||||
: The content's section using slugified section name. The slugified section name is the `slug` as defined in front matter, else the `title` as defined in front matter, else the automatic title.
|
: The content's section using slugified section name. The slugified section name is the `slug` as defined in front matter, else the `title` as defined in front matter, else the automatic title.
|
||||||
|
|
||||||
`:sections`
|
`:sections`
|
||||||
: The content's sections hierarchy. You can use a selection of the sections using _slice syntax_: `:sections[1:]` includes all but the first, `:sections[:last]` includes all but the last, `:sections[last]` includes only the last, `:sections[1:2]` includes section 2 and 3. Note that this slice access will not throw any out-of-bounds errors, so you don't have to be exact.
|
: The content's sections hierarchy. You can use a selection of the sections using _slice syntax_: `:sections[1:]` includes all but the first, `:sections[:last]` includes all but the last, `:sections[last]` includes only the last, `:sections[1:2]` includes section 2 and 3. Note that this slice access will not throw any out-of-bounds errors, so you don't have to be exact.
|
||||||
|
|
||||||
`:sectionslugs`
|
`:sectionslugs`
|
||||||
|
: {{< new-in 0.149.0 />}}
|
||||||
: The content's sections hierarchy using slugified section names. The slugified section name is the `slug` as defined in front matter, else the `title` as defined in front matter, else the automatic title. You can use a selection of the sections using _slice syntax_: `:sectionslugs[1:]` includes all but the first, `:sectionslugs[:last]` includes all but the last, `:sectionslugs[last]` includes only the last, `:sectionslugs[1:2]` includes section 2 and 3. Note that this slice access will not throw any out-of-bounds errors, so you don't have to be exact.
|
: The content's sections hierarchy using slugified section names. The slugified section name is the `slug` as defined in front matter, else the `title` as defined in front matter, else the automatic title. You can use a selection of the sections using _slice syntax_: `:sectionslugs[1:]` includes all but the first, `:sectionslugs[:last]` includes all but the last, `:sectionslugs[last]` includes only the last, `:sectionslugs[1:2]` includes section 2 and 3. Note that this slice access will not throw any out-of-bounds errors, so you don't have to be exact.
|
||||||
|
|
||||||
`:title`
|
`:title`
|
||||||
|
@ -105,8 +105,6 @@ The `image` resource implements the [`Process`], [`Resize`], [`Fit`], [`Fill`]
|
|||||||
|
|
||||||
### Process
|
### Process
|
||||||
|
|
||||||
{{< new-in 0.119.0 />}}
|
|
||||||
|
|
||||||
> [!note]
|
> [!note]
|
||||||
> The `Process` method is also available as a filter, which is more effective if you need to apply multiple filters to an image. See [Process filter](/functions/images/process).
|
> The `Process` method is also available as a filter, which is more effective if you need to apply multiple filters to an image. See [Process filter](/functions/images/process).
|
||||||
|
|
||||||
|
@ -10,8 +10,6 @@ params:
|
|||||||
signatures: [images.Opacity OPACITY]
|
signatures: [images.Opacity OPACITY]
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< new-in 0.119.0 />}}
|
|
||||||
|
|
||||||
The opacity value must be in the range [0, 1]. A value of `0` produces a transparent image, and a value of `1` produces an opaque image (no transparency).
|
The opacity value must be in the range [0, 1]. A value of `0` produces a transparent image, and a value of `1` produces an opaque image (no transparency).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -10,8 +10,6 @@ params:
|
|||||||
signatures: [images.Process SPEC]
|
signatures: [images.Process SPEC]
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< new-in 0.119.0 />}}
|
|
||||||
|
|
||||||
This filter has the same options as the [`Process`] method on a `Resource` object, but using it as a filter may be more effective if you need to apply multiple filters to an image.
|
This filter has the same options as the [`Process`] method on a `Resource` object, but using it as a filter may be more effective if you need to apply multiple filters to an image.
|
||||||
|
|
||||||
[`Process`]: /methods/resource/process/
|
[`Process`]: /methods/resource/process/
|
||||||
|
@ -238,6 +238,7 @@ chroma:
|
|||||||
- Aliases:
|
- Aliases:
|
||||||
- docker
|
- docker
|
||||||
- dockerfile
|
- dockerfile
|
||||||
|
- containerfile
|
||||||
Name: Docker
|
Name: Docker
|
||||||
- Aliases:
|
- Aliases:
|
||||||
- dtd
|
- dtd
|
||||||
@ -300,6 +301,12 @@ chroma:
|
|||||||
- gdscript3
|
- gdscript3
|
||||||
- gd3
|
- gd3
|
||||||
Name: GDScript3
|
Name: GDScript3
|
||||||
|
- Aliases:
|
||||||
|
- gemtext
|
||||||
|
- gmi
|
||||||
|
- gmni
|
||||||
|
- gemini
|
||||||
|
Name: Gemtext
|
||||||
- Aliases:
|
- Aliases:
|
||||||
- genshi
|
- genshi
|
||||||
- kid
|
- kid
|
||||||
@ -456,6 +463,8 @@ chroma:
|
|||||||
- Aliases:
|
- Aliases:
|
||||||
- llvm
|
- llvm
|
||||||
Name: LLVM
|
Name: LLVM
|
||||||
|
- Aliases: null
|
||||||
|
Name: lox
|
||||||
- Aliases:
|
- Aliases:
|
||||||
- lua
|
- lua
|
||||||
- luau
|
- luau
|
||||||
@ -561,6 +570,9 @@ chroma:
|
|||||||
- nsi
|
- nsi
|
||||||
- nsh
|
- nsh
|
||||||
Name: NSIS
|
Name: NSIS
|
||||||
|
- Aliases:
|
||||||
|
- nu
|
||||||
|
Name: Nu
|
||||||
- Aliases:
|
- Aliases:
|
||||||
- objective-c
|
- objective-c
|
||||||
- objectivec
|
- objectivec
|
||||||
@ -2093,6 +2105,11 @@ tpl:
|
|||||||
- - '{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice
|
- - '{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice
|
||||||
"d" "e") }}'
|
"d" "e") }}'
|
||||||
- '[a f]'
|
- '[a f]'
|
||||||
|
D:
|
||||||
|
Aliases: null
|
||||||
|
Args: null
|
||||||
|
Description: ""
|
||||||
|
Examples: null
|
||||||
Delimit:
|
Delimit:
|
||||||
Aliases:
|
Aliases:
|
||||||
- delimit
|
- delimit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user