DEV Community

Discussion on: Responsive images for Hugo

Collapse
 
timtorres profile image
Tim Torres

@stereobooster why does only the no-js fallback include the sizes attribute? I know compared to Laura's solution you're including the JS fallback but I wasn't sure why the attribute is only present there. I also saw your else is blank so it's not falling back to your default noted in the comments.