hugo v0.160.1 版本更新介绍
发布日期: 2026-04-08
版本号: v0.160.1
修复了在标题中使用直通元素时的崩溃问题,修复了旧版模板映射在编辑时因与新设置中的有效路径冲突而导致的崩溃,修复了RenderShortcodes在缩进时泄漏上下文标记的问题,从独立的RenderShortcodes中移除了嵌套的页面上下文标记,将测试中已弃用的cascade._target重命名为cascade.target,修复了多语言站点中根分节的自动创建问题,并修正了自述文件中的链接。
更新内容 (中文)
变更内容
- 修复当标题中使用穿透元素时出现的崩溃问题 8b00030b @bep #14677
- 修复编辑传统映射模板名称(该名称在新设置中也是有效路径)时出现的崩溃问题 c4855167 @bep #14740
- 修复RenderShortcodes在缩进时泄露上下文标记的问题 161d0d47 @bep #12457
- 从独立RenderShortcodes中移除嵌套页面上下文标记 45e45966 @bep #14732
- 在测试中将已弃用的cascade._target重命名为cascade.target 58927aa1 @bep
- 修复多语言站点中根章节的自动创建问题 ce009e3a @bep #14681
- readme:修复链接 07558724 @chicks-net
更新内容 (原始)
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
下载链接
- hugo_0.160.1_checksums.txt
- hugo_0.160.1_darwin-universal.pkg
- hugo_0.160.1_dragonfly-amd64.tar.gz
- hugo_0.160.1_freebsd-amd64.tar.gz
- hugo_0.160.1_Linux-64bit.tar.gz
- hugo_0.160.1_linux-amd64.deb
- hugo_0.160.1_linux-amd64.tar.gz
- hugo_0.160.1_linux-arm.tar.gz
- hugo_0.160.1_linux-arm64.deb
- hugo_0.160.1_linux-arm64.tar.gz
- hugo_0.160.1_netbsd-amd64.tar.gz
- hugo_0.160.1_openbsd-amd64.tar.gz
- hugo_0.160.1_solaris-amd64.tar.gz
- hugo_0.160.1_windows-amd64.zip
- hugo_0.160.1_windows-arm64.zip
- hugo_extended_0.160.1_darwin-universal.pkg
- hugo_extended_0.160.1_Linux-64bit.tar.gz
- hugo_extended_0.160.1_linux-amd64.deb
- hugo_extended_0.160.1_linux-amd64.tar.gz
- hugo_extended_0.160.1_linux-arm64.deb
- hugo_extended_0.160.1_linux-arm64.tar.gz
- hugo_extended_0.160.1_windows-amd64.zip
- hugo_extended_withdeploy_0.160.1_darwin-universal.pkg
- hugo_extended_withdeploy_0.160.1_Linux-64bit.tar.gz
- hugo_extended_withdeploy_0.160.1_linux-amd64.deb
- hugo_extended_withdeploy_0.160.1_linux-amd64.tar.gz
- hugo_extended_withdeploy_0.160.1_linux-arm64.deb
- hugo_extended_withdeploy_0.160.1_linux-arm64.tar.gz
- hugo_extended_withdeploy_0.160.1_windows-amd64.zip
- hugo_withdeploy_0.160.1_darwin-universal.pkg
- hugo_withdeploy_0.160.1_Linux-64bit.tar.gz
- hugo_withdeploy_0.160.1_linux-amd64.deb
- hugo_withdeploy_0.160.1_linux-amd64.tar.gz
- hugo_withdeploy_0.160.1_linux-arm64.deb
- hugo_withdeploy_0.160.1_linux-arm64.tar.gz
- hugo_withdeploy_0.160.1_windows-amd64.zip