mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 16:34:46 -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",
|
||||
"redirection",
|
||||
"redirections",
|
||||
"slugified",
|
||||
"slugify",
|
||||
"subexpression",
|
||||
"suppressible",
|
||||
"synchronisation",
|
||||
|
@ -27,12 +27,14 @@ _comment: Do not remove front matter.
|
||||
: The content's section.
|
||||
|
||||
`: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.
|
||||
|
||||
`: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.
|
||||
|
||||
`: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.
|
||||
|
||||
`:title`
|
||||
|
@ -105,8 +105,6 @@ The `image` resource implements the [`Process`], [`Resize`], [`Fit`], [`Fill`]
|
||||
|
||||
### Process
|
||||
|
||||
{{< new-in 0.119.0 />}}
|
||||
|
||||
> [!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).
|
||||
|
||||
|
@ -10,8 +10,6 @@ params:
|
||||
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).
|
||||
|
||||
## Usage
|
||||
|
@ -10,8 +10,6 @@ params:
|
||||
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.
|
||||
|
||||
[`Process`]: /methods/resource/process/
|
||||
|
@ -238,6 +238,7 @@ chroma:
|
||||
- Aliases:
|
||||
- docker
|
||||
- dockerfile
|
||||
- containerfile
|
||||
Name: Docker
|
||||
- Aliases:
|
||||
- dtd
|
||||
@ -300,6 +301,12 @@ chroma:
|
||||
- gdscript3
|
||||
- gd3
|
||||
Name: GDScript3
|
||||
- Aliases:
|
||||
- gemtext
|
||||
- gmi
|
||||
- gmni
|
||||
- gemini
|
||||
Name: Gemtext
|
||||
- Aliases:
|
||||
- genshi
|
||||
- kid
|
||||
@ -456,6 +463,8 @@ chroma:
|
||||
- Aliases:
|
||||
- llvm
|
||||
Name: LLVM
|
||||
- Aliases: null
|
||||
Name: lox
|
||||
- Aliases:
|
||||
- lua
|
||||
- luau
|
||||
@ -561,6 +570,9 @@ chroma:
|
||||
- nsi
|
||||
- nsh
|
||||
Name: NSIS
|
||||
- Aliases:
|
||||
- nu
|
||||
Name: Nu
|
||||
- Aliases:
|
||||
- objective-c
|
||||
- objectivec
|
||||
@ -2093,6 +2105,11 @@ tpl:
|
||||
- - '{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice
|
||||
"d" "e") }}'
|
||||
- '[a f]'
|
||||
D:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ""
|
||||
Examples: null
|
||||
Delimit:
|
||||
Aliases:
|
||||
- delimit
|
||||
|
Loading…
x
Reference in New Issue
Block a user