Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 10:26:03 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 10:26:03 +0300
commit2708dcd57bf9a38f83f638ddb7d8ec9146fdc0a7 (patch)
treee9775375f6d10e9ca116121c4cb3c35eadebdc58
parente375d0f05f74fe675752460c4d23e954d5f80bc1 (diff)
Release 0.48v0.48
-rw-r--r--config.toml2
-rw-r--r--content/en/news/0.48-relnotes/featured-hugo-48-poster.pngbin0 -> 95358 bytes
-rw-r--r--content/en/news/0.48-relnotes/index.md10
-rw-r--r--netlify.toml8
-rw-r--r--resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_480x0_resize_catmullrom_2.pngbin0 -> 42776 bytes
-rw-r--r--resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_640x0_resize_catmullrom_2.pngbin0 -> 67402 bytes
6 files changed, 10 insertions, 10 deletions
diff --git a/config.toml b/config.toml
index 7e750aaab..8a0634467 100644
--- a/config.toml
+++ b/config.toml
@@ -69,7 +69,7 @@ twitter = "GoHugoIO"
[params]
description = "The world’s fastest framework for building websites"
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
- release = "0.49-DEV"
+ release = "0.48"
## Setting this to true will add a "noindex" to *EVERY* page on the site
removefromexternalsearch = false
## Gh repo for site footer (include trailing slash)
diff --git a/content/en/news/0.48-relnotes/featured-hugo-48-poster.png b/content/en/news/0.48-relnotes/featured-hugo-48-poster.png
new file mode 100644
index 000000000..7adb0d22e
--- /dev/null
+++ b/content/en/news/0.48-relnotes/featured-hugo-48-poster.png
Binary files differ
diff --git a/content/en/news/0.48-relnotes/index.md b/content/en/news/0.48-relnotes/index.md
index e5dbb67d0..92c765f23 100644
--- a/content/en/news/0.48-relnotes/index.md
+++ b/content/en/news/0.48-relnotes/index.md
@@ -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 }}
```
diff --git a/netlify.toml b/netlify.toml
index 5e80c5b72..8033bcd56 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,7 +3,7 @@ publish = "public"
command = "hugo --minify"
[context.production.environment]
-HUGO_VERSION = "0.47.1"
+HUGO_VERSION = "0.48"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
@@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true"
command = "hugo --enableGitInfo"
[context.split1.environment]
-HUGO_VERSION = "0.47.1"
+HUGO_VERSION = "0.48"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
-HUGO_VERSION = "0.47.1"
+HUGO_VERSION = "0.48"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
-HUGO_VERSION = "0.47.1"
+HUGO_VERSION = "0.48"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
diff --git a/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_480x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_480x0_resize_catmullrom_2.png
new file mode 100644
index 000000000..af1b061f6
--- /dev/null
+++ b/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_480x0_resize_catmullrom_2.png
Binary files differ
diff --git a/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_640x0_resize_catmullrom_2.png
new file mode 100644
index 000000000..7ae07ef02
--- /dev/null
+++ b/resources/_gen/images/news/0.48-relnotes/featured-hugo-48-poster_hub95348423e80ff144dfee01d64fb9889_95358_640x0_resize_catmullrom_2.png
Binary files differ