13 Commits
Author SHA1 Message Date
kova adb7e7ac3f add base image location 2025-08-23 22:54:08 -02:30
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 e93a9fae1e fix(shortcodes): use GetMatch if exact Get fails
- allows using more relaxed GetMatch in shortcode
- makes it easy to retrieve images relatively from page bundle
- supports wildcard usage
2021-12-04 11:26:05 +01:00
kdevo 5d343cb650 fix(renderer): cleanup, use data-src to actually lazyload 2021-10-31 22:12:33 +01: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 0efce069c3 feat(renderer): add webp without lqip 2021-10-11 20:46:34 +02:00
kdevo e73b63ad46 fix(renderer): use default instead of lqip initial resolution 2021-10-11 20:43:57 +02:00
kdevo b0bc22384f feat(shortcodes): add lazyimg wrapper 2021-10-09 16:21:47 +02:00
kdevo ebc898b8e3 feat(partials): implement LQIP renderer with WebP 2021-10-09 16:08:28 +02:00
kdevo c824db3108 feat(partials): add simple renderer without LQIP 2021-10-09 16:06:00 +02:00
kdevo 8121a2f2e1 refactor(partials): extract to native renderer 2021-10-09 16:04:49 +02:00
kdevo 3cfc4e6945 initial: support lqip and responsive image rendering/resizing 2021-09-18 11:20:39 +02:00