Skip to content

Conversation

@updateclibot
Copy link
Contributor

@updateclibot updateclibot bot commented Dec 31, 2025

deps: Bump HUGO version in Netlify configuration

deps: update hugo used by Netlify to 0.154.0

1 file(s) updated with "HUGO_VERSION = \"0.154.0\"": * netlify.toml

v0.154.0
Hugo `v0.154.0` is the **14th release** this year (not counting patch releases) and introduces [partial decorators](), or “partials with a twist.” This is a very powerful construct that I, @bep, have always wanted to have in Hugo, but I never could wrap my head around how to implement it. Until now.

A small and not very useful example:

```handlebars
{{ with partial "b.html" "World" }}Hello {{ . }}{{ end }}
{{ define "_partials/b.html" }}<b>{{ inner . }}</b>{{ end }}
```

The above renders to:

```handlebars
<b>Hello World</b>
```

* The new `inner` keyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller.
* Decorators can be deeply nested, see [this PR](https://github.com/gohugoio/hugoDocs/pull/3330) for an example.

This release also brings some new utility funcs in the [reflect](https://gohugo.io/functions/reflect/) package to identify the core types in Hugo. For example, to identify an [processable image]() hasn't been trivial, now it is:

```handlebars
{{ $obj := . }}
{{ if reflect.IsResource $obj }}
   {{ if reflect.IsImageResource $obj }}
        // It has width/height and we can process it.
   {{ else }}
       // Just link to it.
   {{ end }}
{{ end }}
```

## Bug fixes

* tpl/collections: Fix apply to work with built-in funcs like len 5c7fad23 @bep #13418 
* Revert "resources/page: Fix slugorcontentbasename for section pages" bf1d20d7 @bep #14104 #14325 

## Improvements

* helpers: Limit verbose watch output for better readability d3b5d47a @majiayu000 #14277 
* tpl/reflect: Make the IsImageResource implementation less technical 86cd1838 @bep 
* internal/warpc: Increase WebP memory limit to 384 MiB 871da337 @jmooring #14309 
* Update tpl/reflect/reflect.go 1deec99b @bep 
* Add reflect.Is{Page,Site,Resource,ImageResource} b7bb557c @bep #14307 
* Allow partials to work as decorators 7c19c196 @bep #13193 

## Dependency Updates

* build(deps): bump github.com/tetratelabs/wazero from 1.10.1 to 1.11.0 2637aa15 @dependabot[bot] 



GitHub Action workflow link

deps: Bump HUGO version from GitHub Action

deps: update hugo used by Github Action to 0.154.0

1 file(s) updated with "hugo-version: 0.154.0": * .github/workflows/build.yaml

v0.154.0
Hugo `v0.154.0` is the **14th release** this year (not counting patch releases) and introduces [partial decorators](), or “partials with a twist.” This is a very powerful construct that I, @bep, have always wanted to have in Hugo, but I never could wrap my head around how to implement it. Until now.

A small and not very useful example:

```handlebars
{{ with partial "b.html" "World" }}Hello {{ . }}{{ end }}
{{ define "_partials/b.html" }}<b>{{ inner . }}</b>{{ end }}
```

The above renders to:

```handlebars
<b>Hello World</b>
```

* The new `inner` keyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller.
* Decorators can be deeply nested, see [this PR](https://github.com/gohugoio/hugoDocs/pull/3330) for an example.

This release also brings some new utility funcs in the [reflect](https://gohugo.io/functions/reflect/) package to identify the core types in Hugo. For example, to identify an [processable image]() hasn't been trivial, now it is:

```handlebars
{{ $obj := . }}
{{ if reflect.IsResource $obj }}
   {{ if reflect.IsImageResource $obj }}
        // It has width/height and we can process it.
   {{ else }}
       // Just link to it.
   {{ end }}
{{ end }}
```

## Bug fixes

* tpl/collections: Fix apply to work with built-in funcs like len 5c7fad23 @bep #13418 
* Revert "resources/page: Fix slugorcontentbasename for section pages" bf1d20d7 @bep #14104 #14325 

## Improvements

* helpers: Limit verbose watch output for better readability d3b5d47a @majiayu000 #14277 
* tpl/reflect: Make the IsImageResource implementation less technical 86cd1838 @bep 
* internal/warpc: Increase WebP memory limit to 384 MiB 871da337 @jmooring #14309 
* Update tpl/reflect/reflect.go 1deec99b @bep 
* Add reflect.Is{Page,Site,Resource,ImageResource} b7bb557c @bep #14307 
* Allow partials to work as decorators 7c19c196 @bep #13193 

## Dependency Updates

* build(deps): bump github.com/tetratelabs/wazero from 1.10.1 to 1.11.0 2637aa15 @dependabot[bot] 



GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@updateclibot updateclibot bot added the dependencies Pull requests that update a dependency file label Dec 31, 2025
@updateclibot updateclibot bot enabled auto-merge December 31, 2025 14:32
@updateclibot updateclibot bot added this pull request to the merge queue Dec 31, 2025
Merged via the queue into master with commit aefea00 Dec 31, 2025
9 checks passed
@updateclibot updateclibot bot deleted the updatecli_master_hugo branch December 31, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant