Release 0.50

This commit is contained in:
Bjørn Erik Pedersen committed 2018-10-29 11:32:08 +01:00
1 parent 685fd6b08b
commit e967001b99
6 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ twitter = "GoHugoIO"
[params] [params]
description = "The world’s fastest framework for building websites" description = "The world’s fastest framework for building websites"
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable) ## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
release = "0.51-DEV" release = "0.50"
## Setting this to true will add a "noindex" to *EVERY* page on the site ## Setting this to true will add a "noindex" to *EVERY* page on the site
removefromexternalsearch = false removefromexternalsearch = false
## Gh repo for site footer (include trailing slash) ## Gh repo for site footer (include trailing slash)
Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

+3 -3
View File
@@ -1,12 +1,12 @@
--- ---
date: 2018-10-29 date: 2018-10-29
title: "0.50" title: "Hugo 0.50: Errors so Good, You’ll Want to Fail!"
description: "0.50" description: "Errors with full filename and line and column number, shown in browser. And improved Fast Render Mode …"
categories: ["Releases"] categories: ["Releases"]
--- ---
Hugo `0.50` brings **greatly improved error messages**, and we now also show them in the browser. Having error messages with filename, line- and column number greatly simplify troubleshooting. Many editors (like VS Code) even let you click and navigate directly to the problematic line. If your editor requires a different log format, you can set it via the `HUGO_FILE_LOG_FORMAT` OS environment variable: Hugo `0.50` brings **greatly improved error messages**, and we now also show them in the browser. Having error messages with filename, line- and column number greatly simplify troubleshooting. Many editors (like VS Code) even let you click and navigate directly to the problematic line. If your editor requires a different log format, you can set it via the `HUGO_FILE_LOG_FORMAT` OS environment variable:
```bash ```bash
+4 -4
View File
@@ -3,7 +3,7 @@ publish = "public"
command = "hugo" command = "hugo"
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.49.2" HUGO_VERSION = "0.50"
HUGO_ENV = "production" HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
@@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true"
command = "hugo --enableGitInfo" command = "hugo --enableGitInfo"
[context.split1.environment] [context.split1.environment]
HUGO_VERSION = "0.49.2" HUGO_VERSION = "0.50"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL" command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.49.2" HUGO_VERSION = "0.50"
[context.branch-deploy] [context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL" command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.49.2" HUGO_VERSION = "0.50"
[context.next.environment] [context.next.environment]
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"