mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 00:16:45 +00:00
Release 0.34
This commit is contained in:
2 files changed
+8
-8
No files matched your search
@@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
date: 2018-01-22
|
date: 2018-01-22
|
||||||
title: "0.34"
|
title: "Hugo 0.34: Pattern matching to filter images and other resources"
|
||||||
description: "0.34"
|
description: "Hugo 0.34 adds full glob with super-asterisk support, for example `*.jpg`."
|
||||||
slug: "0.34"
|
slug: "0.34-relnotes"
|
||||||
categories: ["Releases"]
|
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:
|
We have added two simple methods on the `Resources` object:
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ Hugo now has:
|
|||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
* `Resources.GetByPrefix` and `Resources.ByPrefix` are depracated. They still work, but will eventually be removed. Use `Resources.Match` (many) and `Resources.GetMatch` (one).
|
* `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
|
## Enhancements
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -3,15 +3,15 @@
|
|||||||
command = "hugo"
|
command = "hugo"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.33"
|
HUGO_VERSION = "0.34"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.33"
|
HUGO_VERSION = "0.34"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.33"
|
HUGO_VERSION = "0.34"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
|
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
|
||||||
|
|||||||
Reference in new issue
Block a user