Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'

This commit is contained in:
Bjørn Erik Pedersen
2018-09-14 08:35:23 +02:00
48 changed files with 566 additions and 350 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -1,12 +1,12 @@
---
date: 2018-08-17
title: "0.47"
description: "0.47"
title: "Output Minification, Live-Reload Fixes and More"
description: "Hugo 0.47: Adds minification of rendered output, but is mostly a massive bug fix release."
categories: ["Releases"]
---
Hugo `0.47` is named **Hugo Reloaded**. It adds minification support for the final rendered output (run `hugo --minify`), but it is mostly a bug fix release. And most notably, it fixes a set of issues with live-reloading/partial rebuilds when running `hugo server`. Working with bundles should now be a more pleasant experience, to pick one example.
Hugo `0.47` is named **Hugo Reloaded**. It adds minification support for the final rendered output (run `hugo --minify`), but it is mostly a bug fix release. And most notably, it fixes a set of issues with live-reloading/partial rebuilds when running `hugo server`. Working with bundles should now be a more pleasant experience, to pick one example.
This release represents **35 contributions by 6 contributors** to the main Hugo code base.
[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@satotake](https://github.com/satotake), [@anthonyfok](https://github.com/anthonyfok), and [@coliff](https://github.com/coliff) for their ongoing contributions.

View File

@@ -1,8 +1,8 @@
---
date: 2018-08-20
title: "0.47.1"
description: "0.47.1"
title: "Two Bug Fixes"
description: "Hugo 0.47.1: Two Bug Fixes"
categories: ["Releases"]
images:
- images/blog/hugo-bug-poster.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -1,17 +1,17 @@
---
date: 2018-08-29
title: "0.48"
description: "0.48"
title: "This One Goes to 11!"
description: "With Go 1.11, Hugo finally gets support for variable overwrites in templates!"
categories: ["Releases"]
---
Hugo `0.48` is built with the brand new Go 1.11. On the technical side this means that Hugo now uses [Go Modules](https://github.com/golang/go/wiki/Modules) for the build. The big new functional thing in Go 1.11 for Hugo is added support for [variable overwrites](https://github.com/golang/go/issues/10608). This means that you can now do:
Hugo `0.48` is built with the brand new Go 1.11. On the technical side this means that Hugo now uses [Go Modules](https://github.com/golang/go/wiki/Modules) for the build. The big new functional thing in Go 1.11 for Hugo is added support for [variable overwrites](https://github.com/golang/go/issues/10608). This means that you can now do this and get the expected result:
```
```go-html-template
{{ $var := "Hugo Page" }}
{{ if .IsHome }}
{{ $var = "Hugo Home" }}
{{ $var = "Hugo Home" }}
{{ end }}
Var is {{ $var }}
```