Skip to content

Commit

Permalink
Update Hugo to 0.88.1, tweak WebP hint (#692)
Browse files Browse the repository at this point in the history
This improves the image quality, especially for images with transparent
background due to a bugfix in Hugo 0.86.0.
  • Loading branch information
mal-tee authored Sep 26, 2021
1 parent 0b694d6 commit 527f657
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
build:
executor: docker_hugo_node
environment:
- HUGO_VERSION: '0.85.0'
- HUGO_BINARY: hugo_extended_0.85.0_linux-64bit
- HUGO_VERSION: '0.88.1'
- HUGO_BINARY: hugo_extended_0.88.1_linux-64bit
steps:
- run:
command: |
Expand Down Expand Up @@ -57,8 +57,8 @@ jobs:
docker:
- image: cypress/base:13.8.0
environment:
- HUGO_VERSION: '0.85.0'
- HUGO_BINARY: hugo_extended_0.85.0_linux-64bit
- HUGO_VERSION: '0.88.1'
- HUGO_BINARY: hugo_extended_0.88.1_linux-64bit
steps:
- run:
command: |
Expand Down
3 changes: 3 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ timeout = "500s"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

[imaging]
hint = "picture"
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ publish = "public"
command = "./deploy.sh"

[context.production.environment]
HUGO_VERSION = "0.85.0"
HUGO_VERSION = "0.88.1"
YARN_VERSION = "1.22.4"

[context.deploy-preview.environment]
HUGO_VERSION = "0.85.0"
HUGO_VERSION = "0.88.1"
YARN_VERSION = "1.22.4"

[context.branch-deploy.environment]
HUGO_VERSION = "0.85.0"
HUGO_VERSION = "0.88.1"
YARN_VERSION = "1.22.4"

0 comments on commit 527f657

Please sign in to comment.