October 31, 2022
Cecil 7.25.0 released
Features
Custom responsive image sizes
<img src="/assets/thumbnails/800/image.jpg" width="800" height="600"
srcset="/assets/thumbnails/320/image.jpg 320w,
/assets/thumbnails/640/image.jpg 640w,
/assets/thumbnails/800/image.jpg 800w"
sizes="100vw"
> The sizes attribute take the value of the assets.images.responsive.sizes.default configuration option by default, and can be customized by creating a new entry named with the class name added to the image.
Example:
assets:
images:
responsive:
sizes:
default: 100vw
my_class: "(max-width: 800px) 768px, 1024px" {.my_class} Fix
- Normalize page path to build
Release notes on GitHub