v0.164.0
NandhaKishorM/layav0.164.0Jul 6, 2026by bep
Upgrading?
AI Summary
Hugo v0.164.0 adds new template functions for encoding and crypto, introduces Pandoc citation support, and fixes a performance regression introduced in Hugo v0.128.0.
Key Highlights
- New template functions: HexEncode, HexDecode, and crypto.Hash
- Pandoc citation support added to markup
- Fix for performance regression in Hugo v0.128.0
- Sub paths support in layouts passed to Page.Render
- Chroma highlighter styles now support dark/light pairs
New Features
- New encoding functions (HexEncode, HexDecode)
- New crypto function (crypto.Hash)
- Pandoc citation support
- Sub paths in layouts
- Dark/light mode for Chroma highlighter
- New markup.rst.syntaxHighlight option
Full Release Notes
Notable new features in this release are: * The Chroma highlighter styles now introduces [dark/light pairs](https://gohugo.io/quick-reference/syntax-highlighting-styles/#modes). See also the new flags on the [hugo gen chromastyles](/commands/hugo_gen_chromastyles/) command. * New template funcs [encoding.HexEncode](https://gohugo.io/functions/encoding/hexencode/), [encoding.HexDecode](https://gohugo.io/functions/encoding/hexdecode/), and [crypto.Hash](https://gohugo.io/functions/crypto/hash/). * New [markup.rst.syntaxHighlight](https://gohugo.io/configuration/markup/#syntaxhighlight) option. * We added Pandoc citation support. * We now spport sub paths in layouts passed to [Page.Render](https://gohugo.io/methods/page/render/#article). * This release also fixes a performance regression introduced in Hugo v0.128.0. This should mostly be prominent in bigger sites. See [this discussion](https://discourse.gohugo.io/t/hugo-building-slowly-from-release-0-128-0/57314/20) for some background. ## Notes * tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer 29ed9325 @bep #15086 ## Changes * all: Rewrite deprecated constructs in tests 5a5f4a54 @bep * tpl/tplimpl: Support sub paths in layouts passed to .Render d83ce27a @bep #15056 * Add markup.rst.syntaxHighlight option c6acc246 @bep #5349 * tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer 29ed9325 @bep #15086 * tpl/collections: Include key in IsSet unsupported-type warning 671897ae @bejaratommy #11794 * create: Keep new content placeholders buildable 499794d1 @sjh9714 #15078 * hugio: Speedup hasBytesWriter 65c82178 @bep * tpl/crypto: Add crypto.Hash dfb35dcd @bep #15072 * Add encoding.HexDecode/Encode a5ec5423 @bep #15068 #15060 * tpl/tplimpl: Make template name lookup case-insensitive e46d37a9 @jmooring #15057 * hugolib: Return error from .Render when template not found fe067352 @jmooring #15052 * markup/pandoc: Add citation support 128fb17c @jmooring #15062 ## Dependency Updates * build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2 921db7b5 @dependabot[bot] * build(deps): bump golang.org/x/tools from 0.45.0 to 0.47.0 786ce71e @dependabot[bot] * build(deps): bump golang.org/x/image from 0.42.0 to 0.43.0 5ad28461 @dependabot[bot] * build(deps): bump golang.org/x/net from 0.55.0 to 0.56.0 36ad9f58 @dependabot[bot] * build(deps): bump github.com/pelletier/go-toml/v2 from 2.4.2 to 2.4.3 7c0a0bc9 @dependabot[bot] * build(deps): bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0 a879ebfa @dependabot[bot] * build(deps): bump golang.org/x/mod from 0.36.0 to 0.37.0 332d5ec8 @dependabot[bot] * build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.1 to 2.4.2 212cc11a @dependabot[bot] * deps: Upgrade github.com/evanw/esbuild v0.28.0 => v0.28.1 884439b9 @bep #15033 * deps: Add Chroma dark/light mode support 790a8aa4 @bep #15017
Related Repositories
public-apis/public-apis★ 491,310
A collective list of free APIs
NousResearch/hermes-agent★ 256,156
The agent that grows with you
yt-dlp/yt-dlp★ 200,351
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,617
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,706
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.