Sign in

Hero Section SVG Image

Avatar photoBob

We have to change the way the SVG files are generated by optionImages.

Right now, the image generation option uses two attributes: srcset and sizesĀ  to provide several additional source images but the SVG files should be excluded from this mechanism.

To fix it now, remove the following piece of code from index.hbs file (line 24):

` {{responsiveSrcSet @config.custom.uploadHero}}`

Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!