Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8'

This commit is contained in:
Bjørn Erik Pedersen
2021-06-08 18:47:53 +02:00
21 changed files with 981 additions and 84 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -1,15 +1,22 @@
---
date: 2021-05-01
title: "0.83.0"
description: "0.83.0"
title: "Hugo 0.83: WebP Support!"
description: "WebP image encoding support, some important i18n fixes, and more."
categories: ["Releases"]
---
Hugo `0.83` finally brings [WebP](https://gohugo.io/content-management/image-processing/) image processing support. Note that you need the [extended version](https://gohugo.io/troubleshooting/faq/#i-get-tocss--this-feature-is-not-available-in-your-current-hugo-version) of Hugo to encode to WebP. If you want to target all Hugo versions, you may use a construct such as this:
**Note:** If you use i18n, there is an unfortunate regression bug in this release (see [issue](https://github.com/gohugoio/hugo/issues/8492)). A patch release coming Sunday.
Hugo `0.83` finally brings [WebP](https://gohugo.io/content-management/image-processing/) image processing support. Note that you need the [extended version](https://gohugo.io/troubleshooting/faq/#i-get-tocss--this-feature-is-not-available-in-your-current-hugo-version) of Hugo to encode to WebP. If you want to target all Hugo versions, you may use a construct such as this:
```go-html-template
FOO
{{ $images := slice }}
{{ $images = $images | append ($img.Resize "300x") }}
{{ if hugo.IsExtended }}
{{ $images = $images | append ($img.Resize "300x webp") }}
{{ end }}
```
Also worth highlighting:

View File

@@ -1,8 +1,8 @@
---
date: 2021-05-02
title: "Hugo 0.83.1: A couple of Bug Fixes"
description: "This version fixes a couple of bugs introduced in 0.83.0."
title: "Hugo 0.83.1: One Bug Fix"
description: "This version fixes an issue introduced in 0.83.0."
categories: ["Releases"]
images:
- images/blog/hugo-bug-poster.png