Files
HugoBlox-kit/modules
George Cushen bab17c129d feat(images): add responsive srcset/sizes across Tailwind layouts
Introduce reusable partial process_responsive_image.html (fit/fill/resize/responsive), using Hugo .Process, WebP by default, skip GIFs, respect Hugo imaging defaults
Preserve original look: pre-fit/pre-fill to intended dimensions, then generate responsive variants; use fitted dims for width/height to avoid CLS
single.html: featured image pre-fit by placement (720/1200/2560), responsive srcset, fetchpriority=high; author avatar uses 2x retina (32→16)
article-grid.html: main image pre-fit 960×540 (fill/fit), responsive srcset; author avatar uses 2x retina (40→20)
card.html: pre-fill 655×655, responsive srcset
render-image.html: default display 760px with responsive srcset (matches prior layout)
page_author_card.html: high‑res avatar pipeline with srcset (sizes=96px)
testimonials.html: avatar uses 2x retina (96→48)
CTA/resume banners: responsive srcset + sizes
Fix issues: avoid using fallback dims for display

Closes #1988
2025-08-19 01:06:36 +01:00
..
2023-11-09 14:58:28 +00:00