mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8'
This commit is contained in:
BIN
docs/content/en/news/0.83.0-relnotes/featured.png
Normal file
BIN
docs/content/en/news/0.83.0-relnotes/featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user