diff --git a/content/news/0.34-relnotes-ready.md b/content/news/0.34-relnotes-ready.md index 8a76dab29..952c21834 100644 --- a/content/news/0.34-relnotes-ready.md +++ b/content/news/0.34-relnotes-ready.md @@ -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 diff --git a/netlify.toml b/netlify.toml index 073931fe1..3188d0262 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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/"