Skip to content
Permalink
Browse files

Release Hugo 0.45

  • Loading branch information...
bep committed Jul 22, 2018
1 parent c22b252 commit 56c4e332f15eabe3be020b46bbf58fba427ef448
Showing with 12 additions and 12 deletions.
  1. +2 −2 content/en/content-management/image-processing/index.md
  2. +1 −1 content/en/content-management/multilingual.md
  3. +1 −1 content/en/content-management/organization/index.md
  4. BIN content/en/news/0.45-relnotes/featured-hugo-45-poster.png
  5. +3 −3 content/en/news/0.45-relnotes/index.md
  6. +1 −1 content/en/troubleshooting/build-performance.md
  7. +4 −4 netlify.toml
  8. BIN .../images/about/new-in-032/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_300x0_resize_q10_box.jpg
  9. BIN .../images/about/new-in-032/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_300x0_resize_q75_box.jpg
  10. BIN ...gen/images/about/new-in-032/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_90x90_fit_q75_box.jpg
  11. BIN .../image-processing/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fill_q75_box_smart1.jpg
  12. BIN ...agement/image-processing/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_300x0_resize_q10_box.jpg
  13. BIN ...agement/image-processing/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_300x0_resize_q75_box.jpg
  14. BIN ...management/image-processing/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_90x90_fit_q75_box.jpg
  15. BIN ...nization/1-featured-content-bundles_hu3e3ae7839b071119f32acaa20f204198_63640_300x0_resize_box.png
  16. BIN ...33-relnotes/featured-hugo-33-poster_hu45ce9da1cdea6ca61c5f4f5baccdcad4_70230_480x0_resize_box.png
  17. BIN ...ws/0.34-relnotes/featured-34-poster_hud8d73dc5df8d5a35383849a78eea35dd_78317_480x0_resize_box.png
  18. BIN ...35-relnotes/featured-hugo-35-poster_hua42b1310dd72f60a34e02851ebf2f82e_88519_480x0_resize_box.png
  19. BIN ...es/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_480x0_resize_catmullrom_2.png
  20. BIN ...es/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_640x0_resize_catmullrom_2.png
@@ -17,10 +17,10 @@ menu:

## The Image Page Resource

The `image` is a [Page Resource]({{< relref "content-management/page-resources" >}}), and the processing methods listed below does not work on images inside your `/static` folder.
The `image` is a [Page Resource]({{< relref "/content-management/page-resources" >}}), and the processing methods listed below does not work on images inside your `/static` folder.


To get all images in a [Page Bundle]({{< relref "content-management/organization#page-bundles" >}}):
To get all images in a [Page Bundle]({{< relref "/content-management/organization#page-bundles" >}}):


```go-html-template
@@ -231,7 +231,7 @@ By setting the `translationKey` front matter param to `about` in all three pages

Because paths and filenames are used to handle linking, all translated pages, except for the language part, will be sharing the same url.

To localize the URLs, the [`slug`]({{< ref "content-management/organization/index.md#slug" >}}) or [`url`]({{< ref "content-management/organization/index.md#url" >}}) front matter param can be set in any of the non-default language file.
To localize the URLs, the [`slug`]({{< ref "/content-management/organization/index.md#slug" >}}) or [`url`]({{< ref "/content-management/organization/index.md#url" >}}) front matter param can be set in any of the non-default language file.

For example, a french translation (`content/about.fr.md`) can have its own localized slug.

@@ -21,7 +21,7 @@ toc: true

Hugo `0.32` announced page-relative images and other resources packaged into `Page Bundles`.

These terms are connected, and you also need to read about [Page Resources]({{< relref "content-management/page-resources" >}}) and [Image Processing]({{< relref "content-management/image-processing" >}}) to get the full picture.
These terms are connected, and you also need to read about [Page Resources]({{< relref "/content-management/page-resources" >}}) and [Image Processing]({{< relref "/content-management/image-processing" >}}) to get the full picture.

{{% imgproc 1-featured Resize "300x" %}}
The illustration shows 3 bundles. Note that the home page bundle cannot contain other content pages, but other files (images etc.) are fine.
Binary file not shown.
@@ -1,8 +1,8 @@

---
date: 2018-07-22
title: "0.45"
description: "0.45"
title: "Hugo 0.45: Revival of ref, relref and GetPage"
description: "Hugo 0.45 adds relative page lookups, language support in ref/relref and several Hugo Pipes improvements."
categories: ["Releases"]
---

@@ -15,7 +15,7 @@ Now you can simply do:
{{ with .Site.GetPage "/blog/my-post.md" }}{{ .Title }}{{ end }}
```

Or two get a section page:
Or to get a section page:


```go-html-template
@@ -108,4 +108,4 @@ the memory usage per step, and the total memory allocations per step.
To enable *step analysis*, use the `--stepAnalysis` option when running Hugo.


[partialCached]:{{< ref "functions/partialCached.md" >}}
[partialCached]:{{< ref "/functions/partialCached.md" >}}
@@ -3,28 +3,28 @@ publish = "public"
command = "hugo"

[context.production.environment]
HUGO_VERSION = "0.44"
HUGO_VERSION = "0.45"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.split1]
command = "hugo --enableGitInfo"

[context.split1.environment]
HUGO_VERSION = "0.44"
HUGO_VERSION = "0.45"
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.44"
HUGO_VERSION = "0.45"

[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.44"
HUGO_VERSION = "0.45"

[context.next.environment]
HUGO_ENABLEGITINFO = "true"

0 comments on commit 56c4e33

Please sign in to comment.
You can’t perform that action at this time.