<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w" -->

---
title: Release v0.164.0 · gohugoio/hugo | daily.dev
description: Hugo v0.164.0 introduces dark/light pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command. New template functions...
canonical: https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Release v0.164.0 · gohugoio/hugo | daily.dev
og:description: Hugo v0.164.0 introduces dark/light pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command. New template functions...
og:url: https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w
og:image: https://api.daily.dev/og/posts/S3yT1jK0w.png
og:image:alt: Release v0.164.0 · gohugoio/hugo
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Release v0.164.0 · gohugoio/hugo

**[Hugo](https://daily.dev/sources/hugo)** · 2 min read · 2 upvotes · 0 comments

## Summary

Hugo v0.164.0 introduces dark/light pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command. New template functions encoding.HexEncode, encoding.HexDecode, and crypto.Hash are added. Other additions include a markup.rst.syntaxHighlight option, Pandoc citation support, sub-path support in layouts passed to Page.Render, and case-insensitive template name lookup. The release also fixes a performance regression introduced in v0.128.0 that affected larger sites. resources.PostProcess is deprecated in favor of templates.Defer.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/gohugoio/hugo/releases/tag/v0.164.0>

## Questions this post answers

### What changed in Hugo v0.164.0?

Hugo v0.164.0 adds dark/light mode pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command, new template functions encoding.HexEncode, encoding.HexDecode, and crypto.Hash, a markup.rst.syntaxHighlight option, Pandoc citation support, and sub path support in layouts passed to Page.Render. It also fixes a performance regression from v0.128.0 affecting larger sites.

_Track Hugo release notes like these on daily.dev before upgrading a static site._

### Does Hugo v0.164.0 fix the build performance regression from v0.128.0?

Yes, Hugo v0.164.0 fixes a performance regression that was introduced back in v0.128.0, which was most noticeable on bigger sites experiencing slower builds. The fix follows community discussion on the Hugo forum about builds slowing down since that earlier release.

_Developers debugging slow Hugo builds can follow fixes like this via daily.dev._

### Is resources.PostProcess deprecated in Hugo?

Yes, as of Hugo v0.164.0, resources.PostProcess is deprecated in favor of templates.Defer. Site builders relying on resources.PostProcess in their templates should plan to migrate to templates.Defer going forward.

_daily.dev helps developers stay ahead of deprecations before migrating Hugo templates._

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Release v0.164.0 · gohugoio/hugo","url":"https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w"},"datePublished":"2026-07-06T20:58:13.485Z","dateModified":"2026-09-14T08:27:11.156Z","description":"Hugo v0.164.0 introduces dark/light pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command. New template functions...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd3fb6dfc482c5b05ddb474d3266a299?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd3fb6dfc482c5b05ddb474d3266a299?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hugo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugo","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0b9e9e4bd6dc4a96bba3ca9663c6d6b7","url":"https://daily.dev/sources/hugo"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"golang","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugo","item":"https://daily.dev/sources/hugo"},{"@type":"ListItem","position":3,"name":"Release v0.164.0 · gohugoio/hugo"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/release-v0-164-0-gohugoio-hugo-s3yt1jk0w#faq","mainEntity":[{"@type":"Question","name":"What changed in Hugo v0.164.0?","acceptedAnswer":{"@type":"Answer","text":"Hugo v0.164.0 adds dark/light mode pairs for Chroma highlighter styles with new flags on the hugo gen chromastyles command, new template functions encoding.HexEncode, encoding.HexDecode, and crypto.Hash, a markup.rst.syntaxHighlight option, Pandoc citation support, and sub path support in layouts passed to Page.Render. It also fixes a performance regression from v0.128.0 affecting larger sites. Track Hugo release notes like these on daily.dev before upgrading a static site."}},{"@type":"Question","name":"Does Hugo v0.164.0 fix the build performance regression from v0.128.0?","acceptedAnswer":{"@type":"Answer","text":"Yes, Hugo v0.164.0 fixes a performance regression that was introduced back in v0.128.0, which was most noticeable on bigger sites experiencing slower builds. The fix follows community discussion on the Hugo forum about builds slowing down since that earlier release. Developers debugging slow Hugo builds can follow fixes like this via daily.dev."}},{"@type":"Question","name":"Is resources.PostProcess deprecated in Hugo?","acceptedAnswer":{"@type":"Answer","text":"Yes, as of Hugo v0.164.0, resources.PostProcess is deprecated in favor of templates.Defer. Site builders relying on resources.PostProcess in their templates should plan to migrate to templates.Defer going forward. daily.dev helps developers stay ahead of deprecations before migrating Hugo templates."}}]}
```

