v0.146.4

gohugoio/hugov0.146.4Apr 14, 2025by bep

AI Summary

This release focuses on stabilizing the template system introduced in v0.146.0 by fixing various edge cases involving partials, shortcodes, and error reporting.

Key Highlights

  • Fixed partials without suffix and nonsensical return constructs
  • Fixed shortcode resolution in nested folders
  • Added proper file context to template parse errors
  • Enabled older setups to use specific template syntax

Full Release Notes

## What's Changed

* tpl: Fix issue with partials without suffix 65c94c7b2 @bep #13601 
* tpl: Avoid panic on nonsensical return construct e8e8ce10d @bep #13600 
* tpl: Fix the case for a shortcode in a nested folder only cf9e6904c @bep #13605 
* tpl: Add proper file context to template parse errors 8a2830f2d @bep #13604 
* tpl: Make {{ template "partials/foo.html" . }} work in older setups 1e0287f47 @bep #13599