Cards fall back to the section image
Owner: Ivan Hawkes
references: be-best/layouts/_partials/images/featured.html

Cards fall back to the section image

A card with no image of its own shows the section’s image.

be-best/layouts/_partials/images/featured-image.html:14 falls back to .Parent.Page.Resources when the page has no featured.webp. In a listing, every image-less post therefore renders its section’s image, and the same large file repeats across the page. All 6 cards on public/post/garden/index.html render /post/garden/featured_hu_ecf1cdc248bd6b78.jpg: no garden post in that page carries its own featured.webp. At the 1920w variant the section image weighs 363 KB, so the page requests 2.2 MB of one picture.

Cards fall back to the section image

Acceptance Criteria

Notes