mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
Release Hugo 0.37
This commit is contained in:
5 files changed
+7
-8
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 182 KiB |
@@ -1,13 +1,12 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
date: 2018-02-27
|
date: 2018-02-27
|
||||||
title: "0.37"
|
title: "Hugo 0.37: Preserve PNG Colour Palette"
|
||||||
description: "0.37"
|
description: "Reduces processed PNG file sizes. And 0.37 is built with Go 1.10!"
|
||||||
slug: "0.37"
|
|
||||||
categories: ["Releases"]
|
categories: ["Releases"]
|
||||||
---
|
---
|
||||||
|
|
||||||
The main item in Hugo `0.37` is that we now properly preserve the colour palette when processing `PNG` images. We got reports from users experiencing their `PNG` images getting bigger in file size when scaled down. Now, if you, as an example, start out with a carefully chosen 8 bit colour palette (i.e. `PNG-8`), this is now what you will end up with. A special thanks to [@aitva](https://github.com/aitva) for doing the investigative work finding a proper fix for this issue.
|
The main item in Hugo `0.37` is that we now properly preserve the colour palette when processing `PNG` images. We got reports from users experiencing their `PNG` images getting bigger in file size when scaled down. Now, if you, as an example, start out with a carefully chosen 8 bit colour palette (i.e. `PNG-8`), this is now what you will end up with. A special thanks to [@aitva](https://github.com/aitva) for doing the investigative work finding a proper fix for this issue.
|
||||||
|
|
||||||
This release represents **40 contributions by 5 contributors** to the main Hugo code base.
|
This release represents **40 contributions by 5 contributors** to the main Hugo code base.
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -3,7 +3,7 @@ publish = "public"
|
|||||||
command = "hugo"
|
command = "hugo"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.36.1"
|
HUGO_VERSION = "0.37"
|
||||||
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.36.1"
|
HUGO_VERSION = "0.37"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "hugo -b $DEPLOY_PRIME_URL"
|
command = "hugo -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.36.1"
|
HUGO_VERSION = "0.37"
|
||||||
|
|
||||||
[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.36.1"
|
HUGO_VERSION = "0.37"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
Reference in new issue
Block a user