23 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 f8df703cfd docs(README): add logo 2021-12-04 11:30:06 +01:00
kdevo afeadb2b04 feat(config): use lqip-webp as modern default 2021-12-04 11:26:58 +01: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 da3090469d feat(config): use Gaussian per default for LQIP 2021-10-31 22:05:41 +01:00
kdevo 59e00036f7 fix(assets): clean CSS from unused selector 2021-10-31 22:04:16 +01:00
kdevo 1bb49ba89d docs(README): refine, fix typo, improve structure 2021-10-30 11:34:26 +02: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 4ee7a57052 fix: adjust module path 2021-10-10 11:42:03 +02:00
kdevo 9888d87f32 docs(README): improve quickstart, sync config options 2021-10-09 16:58:56 +02:00
kdevo 512ea96384 feat(exampleSite): provide more extensive examples 2021-10-09 16:27:12 +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 621d0bc7c6 feat(config): add sane defaults, raise hugo version 2021-10-09 15:59:47 +02:00
kdevo 2c95d36bd4 feat(deps): update exampleSite modules 2021-10-09 15:58:46 +02:00
kdevo 2eba2d1d3b feat(exampleSite): use image from hugo-mods/examples 2021-09-18 12:19:41 +02:00
kdevo 3cfc4e6945 initial: support lqip and responsive image rendering/resizing 2021-09-18 11:20:39 +02:00