feat(config): add sane defaults, raise hugo version

This commit is contained in:
kdevo
2021-10-09 15:59:47 +02:00
parent 2c95d36bd4
commit 621d0bc7c6
+14 -3
View File
@@ -1,12 +1,23 @@
Params:
lazyimg:
# TODO(kdevo): provide sensible defaults
resizer: auto
renderer: lqip
# Resizer options:
lqipSize: "120x"
maxSize: "1920x"
responsiveSizes: ["320x", "640x", "768x", "1024x", "1366x", "1600x", "1920x"]
resizeOptions: "Lanczos q95"
# Renderer options:
#class: ""
#alt: ""
noscript: true
module:
hugoVersion:
extended: true
# needed for webp support and mutli-line dicts:
min: "0.82.0" # TODO(kdevo): raise to 0.83.0
min: "0.83.0"
max: "1.00.0"
imports:
- path: "github.com/aFarkas/lazysizes"