hugo/docs/content/en/news/0.83.0-relnotes/index.md
2021-06-08 18:47:53 +02:00

16 KiB


date: 2021-05-01 title: "Hugo 0.83: WebP Support!" description: "WebP image encoding support, some important i18n fixes, and more." categories: ["Releases"]

Note: If you use i18n, there is an unfortunate regression bug in this release (see issue). A patch release coming Sunday.

Hugo 0.83 finally brings WebP image processing support. Note that you need the extended version of Hugo to encode to WebP. If you want to target all Hugo versions, you may use a construct such as this:

{{ $images := slice }}
{{ $images = $images | append ($img.Resize "300x") }}
{{ if hugo.IsExtended }}
  {{ $images = $images | append ($img.Resize "300x webp") }}
{{ end }}

Also worth highlighting:

This release represents 61 contributions by 9 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @dependabot[bot], @jmooring, and @anthonyfok for their ongoing contributions. And a big thanks to @digitalcraftsman for his relentless work on keeping the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 10 contributions by 5 contributors. A special thanks to @lupsa, @jmooring, @bep, and @arhuman for their work on the documentation site.

Hugo now has:

Notes

Enhancements

Templates

Output

Other

Fixes

Templates

Output

Other