Hugo 0.120.0 Released

6 Likes

Hugo 0.120.0 packages

Brew - Hugo Brew package for macOS and Linux - updated :white_check_mark:
Snap Package - Hugo Snap (Snapcraft) package for Linux - not yet updated :x:
Docker/CI Image - Hugo Docker image for Continuous Integration - updated :white_check_mark:
Debian - not yet updated :x:
Ubuntu - not yet updated :x:
Fedora Copr - Hugo RPM package for Fedora and CentOS - not yet updated :x:
Chocolatey Package - Hugo Chocolatey package for Windows

2 Likes

If I were to include more information in the release notes it would be this:

Hugo v0.120.0 deprecates site.IsServer and adds support for two new methods:

  • hugo.IsServer - returns true if the site is being served with Hugo’s built-in server
  • hugo.IsDevelopment - returns true if hugo.Environment is “development”

More details can be found in the docs.

Thanks to @jmooring and @bep for this.

2 Likes