package main // mbImageComponent renders an image with optional full-bleed mode and a numbered caption. // Skips rendering if no src — guarantees zero broken . templ mbImageComponent(src, alt, caption string, fullBleed bool) { if src != "" {
{ if caption != "" {
{ caption }
}
} }