mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
Merge commit 'efc0b1bb6c6564f54d596467dbc6a18cb206954e'
This commit is contained in:
BIN
docs/content/en/news/0.59.0-relnotes/hugo-59-poster-featured.png
Normal file
BIN
docs/content/en/news/0.59.0-relnotes/hugo-59-poster-featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
@@ -1,12 +1,12 @@
|
||||
|
||||
---
|
||||
date: 2019-10-21
|
||||
title: "0.59.0"
|
||||
description: "0.59.0"
|
||||
title: "Hugo 0.59.0"
|
||||
description: "Set image target format and background color, and more ..."
|
||||
categories: ["Releases"]
|
||||
---
|
||||
|
||||
The timing of this release is motivated by getting the copies of the docs repositories in synch, now fully "Hugo Modularized". But it also comes with some very nice additions:
|
||||
The timing of this release is motivated by getting the copies of the docs repositories in synch, now fully "Hugo Modularized". But it also comes with some very nice additions:
|
||||
|
||||
It is now possible to set the target format and the background fill color when processing images, e.g.:
|
||||
|
||||
@@ -22,6 +22,12 @@ Another useful addon is the `$pages.Next` and `$pages.Prev` methods on the core
|
||||
{{with .Site.RegularPages.Next . }}{{.RelPermalink}}{{end}}
|
||||
```
|
||||
|
||||
The above is a functionally equivalent (but slightly slower) variant of:
|
||||
|
||||
```
|
||||
{{with .Next }}{{.RelPermalink}}{{end}}
|
||||
```
|
||||
|
||||
See [Pages Methods](https://gohugo.io/variables/pages/) for more information.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user