v0.160.1

gohugoio/hugov0.160.1Apr 8, 2026by bep

AI Summary

This release focuses on fixing critical panics and context handling issues in RenderShortcodes, passthrough elements, and multilingual site configurations.

Key Highlights

  • Fix panic when passthrough elements are used in headings.
  • Fix panic on edit of legacy mapped template names.
  • Fix RenderShortcodes leaking context markers when indented.
  • Fix auto-creation of root sections in multilingual sites.

Full Release Notes

## What's Changed

* Fix panic when passthrough elements are used in headings 8b00030b @bep #14677 
* Fix panic on edit of legacy mapped template names that's also a valid path in the new setup c4855167 @bep #14740 
* Fix RenderShortcodes leaking context markers when indented 161d0d47 @bep #12457 
* Strip nested page context markers from standalone RenderShortcodes 45e45966 @bep #14732 
* Rename deprecated cascade._target to cascade.target in tests 58927aa1 @bep 
* Fix auto-creation of root sections in multilingual sites ce009e3a @bep #14681 
* readme: Fix links 07558724 @chicks-net