mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'
This commit is contained in:
BIN
docs/content/en/news/0.47-relnotes/featured-hugo-47-poster.png
Normal file
BIN
docs/content/en/news/0.47-relnotes/featured-hugo-47-poster.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
@@ -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.
|
||||
|
@@ -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
|
||||
|
BIN
docs/content/en/news/0.48-relnotes/featured-hugo-48-poster.png
Normal file
BIN
docs/content/en/news/0.48-relnotes/featured-hugo-48-poster.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
@@ -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 }}
|
||||
```
|
||||
|
Reference in New Issue
Block a user