Download Latest Version hugo_0.160.0_Linux-64bit.tar.gz (18.5 MB)
Email in envelope

Get an email when there's a new version of Hugo

Home / v0.158.0
Name Modified Size InfoDownloads / Week
Parent folder
hugo_0.158.0_checksums.txt 2026-03-16 2.9 kB
hugo_extended_withdeploy_0.158.0_linux-arm64.deb 2026-03-16 26.8 MB
hugo_0.158.0_linux-amd64.deb 2026-03-16 19.1 MB
hugo_0.158.0_linux-arm64.deb 2026-03-16 17.5 MB
hugo_extended_0.158.0_linux-amd64.deb 2026-03-16 20.0 MB
hugo_extended_0.158.0_linux-arm64.deb 2026-03-16 18.3 MB
hugo_extended_withdeploy_0.158.0_linux-amd64.deb 2026-03-16 29.5 MB
hugo_0.158.0_windows-amd64.zip 2026-03-16 19.0 MB
hugo_0.158.0_windows-arm64.zip 2026-03-16 17.3 MB
hugo_extended_0.158.0_windows-amd64.zip 2026-03-16 20.1 MB
hugo_extended_withdeploy_0.158.0_windows-amd64.zip 2026-03-16 29.5 MB
hugo_0.158.0_darwin-universal.pkg 2026-03-16 35.8 MB
hugo_extended_0.158.0_darwin-universal.pkg 2026-03-16 37.4 MB
hugo_extended_withdeploy_0.158.0_darwin-universal.pkg 2026-03-16 55.0 MB
hugo_extended_withdeploy_0.158.0_linux-arm64.tar.gz 2026-03-16 25.8 MB
hugo_extended_0.158.0_linux-arm64.tar.gz 2026-03-16 17.7 MB
hugo_extended_withdeploy_0.158.0_Linux-64bit.tar.gz 2026-03-16 28.2 MB
hugo_0.158.0_netbsd-amd64.tar.gz 2026-03-16 18.3 MB
hugo_0.158.0_openbsd-amd64.tar.gz 2026-03-16 18.3 MB
hugo_0.158.0_solaris-amd64.tar.gz 2026-03-16 18.3 MB
hugo_extended_0.158.0_Linux-64bit.tar.gz 2026-03-16 19.2 MB
hugo_extended_0.158.0_linux-amd64.tar.gz 2026-03-16 19.2 MB
hugo_extended_withdeploy_0.158.0_linux-amd64.tar.gz 2026-03-16 28.2 MB
hugo_0.158.0_dragonfly-amd64.tar.gz 2026-03-16 18.3 MB
hugo_0.158.0_freebsd-amd64.tar.gz 2026-03-16 18.3 MB
hugo_0.158.0_Linux-64bit.tar.gz 2026-03-16 18.4 MB
hugo_0.158.0_linux-amd64.tar.gz 2026-03-16 18.4 MB
hugo_0.158.0_linux-arm64.tar.gz 2026-03-16 16.9 MB
hugo_0.158.0_linux-arm.tar.gz 2026-03-16 17.0 MB
README.md 2026-03-16 4.0 kB
v0.158.0 source code.tar.gz 2026-03-16 15.9 MB
v0.158.0 source code.zip 2026-03-16 17.3 MB
Totals: 32 Items   679.2 MB 0

This release adds css.Build, native and very fast bundling/transformation/minifying of CSS resources. Also see the new strings.ReplacePairs, a very fast option if you need to do many string replacements.

Notes

Deprecations

The methods and config options are deprecated and will be removed in a future Hugo release.

Also see this article

Language configuration

  • languageCode → Use locale instead.
  • languages.<lang>.languageCode → Use languages.<lang>.locale instead.
  • languages.<lang>.languageName → Use languages.<lang>.label instead.
  • languages.<lang>.languageDirection → Use languages.<lang>.direction instead.

Language methods

  • .Site.LanguageCode → Use .Site.Language.Locale instead.
  • .Language.LanguageCode → Use .Language.Locale instead.
  • .Language.LanguageName → Use .Language.Label instead.
  • .Language.LanguageDirection → Use .Language.Direction instead.

Bug fixes

  • tpl/css: Fix external source maps e431f90b @bep [#14620]
  • hugolib: Fix server no watch 59e0446f @jmooring [#14615]
  • resources: Fix context canceled on GetRemote with per-request timeout 842d8f10 @bep [#14611]
  • tpl/tplimpl: Prefer early suffixes when media type matches 4eafd9eb @bep [#13877] [#14601]
  • all: Run go fix ./... e3108225 @bep
  • internal/warpc: Fix SIGSEGV in Close() when dispatcher fails to start c9b88e4d @bep [#14536]
  • Fix index out of range panic in fileEventsContentPaths f797f849 @bep [#14573]

Improvements

  • resources: Re-publish on transformation cache hit 3c980c07 @bep [#14629]
  • create/skeletons: Use css.Build in theme skeleton 404ac000 @jmooring [#14626]
  • tpl/css: Add a test case for rebuilds on CSS options changes 06fcb724 @bep
  • hugolib: Allow regular pages to cascade to self 9b5f1d49 @jmooring [#14627]
  • tpl/css: Allow the user to override single loader entries 623722bb @bep [#14623]
  • tpl/css: Make default loader resolution for CSS @import and url() always behave the same a7cbcf15 @bep [#14619]
  • internal/js: Add default mainFields for CSS builds 36cdb2c7 @jmooring [#14614]
  • Add css.Build 3e3b849c @bep [#14609] [#14613]
  • resources: Use full path for Exif etc. decoding error/warning messages c47ec233 @bep [#12693]
  • Move to new locales library and upgrade CLDR from v36.1 to v48.1 4652ae4a @bep
  • tpl/strings: Add strings.ReplacePairs function 13a95b9c @jmooring [#14594]
  • github: Remove pull_request_template.md 54c80487 @bep
  • testing: Make commands tests pass in Go 1.26.1 157bfddd @bep
  • refactor: Deprecate language configuration and template methods d4f2122d @jmooring [#14269]
  • Replace Exif with Meta in tests 991d2f9a @bep
  • resources: Improve getImageOps error message e8577771 @jmooring [#14571]
  • resources/images: Add IsImageResourceWithMeta etc. tests for bmp and gif 44dc3847 @bep [#14568]

Dependency Updates

Source: README.md, updated 2026-03-16