Commit Graph
5 Commits
Author SHA1 Message Date
kdevo 72183e14a3 feat: add errorHandler if resource could not be loaded
- Fixes #7
- Fixes #6
- Add "errorHandler" config key
- Add the following error-handlers:
  - `warning`: prints warning if resource not found under 'assets'
  - `warning-remote`: prints warning, but tries RemoteGet as alternative
  - `error`: prints error if resource not found, fails build
2022-09-25 18:11:21 +02:00
kdevo af7ae71d6a fix(lazyimg): do not overwrite user params 2021-10-31 22:06:58 +01:00
kdevo 45b704ebdb fix(lazyimg): normalize config dict in partial instead of shortcode
- move normalization of provided config dictionary keys to lower case
from shortcode to partial
- allows using any case when supplying config dict from other layouts
2021-10-30 11:21:31 +02:00
kdevo ebc898b8e3 feat(partials): implement LQIP renderer with WebP 2021-10-09 16:08:28 +02:00
kdevo 3cfc4e6945 initial: support lqip and responsive image rendering/resizing 2021-09-18 11:20:39 +02:00