feat(config): add sane defaults, raise hugo version
This commit is contained in:
+14
-3
@@ -1,12 +1,23 @@
|
|||||||
Params:
|
Params:
|
||||||
lazyimg:
|
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:
|
module:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
extended: true
|
extended: true
|
||||||
# needed for webp support and mutli-line dicts:
|
min: "0.83.0"
|
||||||
min: "0.82.0" # TODO(kdevo): raise to 0.83.0
|
|
||||||
max: "1.00.0"
|
max: "1.00.0"
|
||||||
imports:
|
imports:
|
||||||
- path: "github.com/aFarkas/lazysizes"
|
- path: "github.com/aFarkas/lazysizes"
|
||||||
|
|||||||
Reference in New Issue
Block a user