Release 0.34

This commit is contained in:
Bjørn Erik Pedersen 2018-01-22 13:27:21 +01:00
parent 13c2f3dc86
commit 5c0ebdfca4
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
2 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,14 @@
---
date: 2018-01-22
title: "0.34"
description: "0.34"
slug: "0.34"
title: "Hugo 0.34: Pattern matching to filter images and other resources"
description: "Hugo 0.34 adds full glob with super-asterisk support, for example `*.jpg`."
slug: "0.34-relnotes"
categories: ["Releases"]
---
Hugo `0.33` is a small release. It contains a few smaller bug-fixes, but more important is an overhaul of the API used to find your images and other resources in your page bundles.
Hugo `0.34` is a small release. It contains a few smaller bug-fixes, but more important is an overhaul of the API used to find images and other resources in your page bundles.
We have added two simple methods on the `Resources` object:
@ -35,7 +35,7 @@ Hugo now has:
## Notes
* `Resources.GetByPrefix` and `Resources.ByPrefix` are depracated. They still work, but will eventually be removed. Use `Resources.Match` (many) and `Resources.GetMatch` (one).
* When filtering bundles pages in sub-folders, you need to include the sub-folder when matching. This was a bug introduced in `0.32` and gets it in line with images and other resources.
* When filtering bundles pages in sub-folders, you need to include the sub-folder when matching. This was a bug introduced in `0.33` and gets it in line with images and other resources.
## Enhancements

View File

@ -3,15 +3,15 @@
command = "hugo"
[context.production.environment]
HUGO_VERSION = "0.33"
HUGO_VERSION = "0.34"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview.environment]
HUGO_VERSION = "0.33"
HUGO_VERSION = "0.34"
[context.branch-deploy.environment]
HUGO_VERSION = "0.33"
HUGO_VERSION = "0.34"
[context.next.environment]
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"