Fix image issue
This commit is contained in:
parent
5dbf8b7878
commit
ef9447d923
1 changed files with 9 additions and 0 deletions
|
|
@ -23,6 +23,15 @@ export const generate = ({
|
||||||
sizes="${sizes}"
|
sizes="${sizes}"
|
||||||
width="${imageWebP.width}"
|
width="${imageWebP.width}"
|
||||||
height="${imageWebP.height}"
|
height="${imageWebP.height}"
|
||||||
|
type="image/webp"
|
||||||
|
alt="${alt}"
|
||||||
|
/>
|
||||||
|
<source
|
||||||
|
srcset="${imageJpeg.srcSet}"
|
||||||
|
sizes="${sizes}"
|
||||||
|
width="${imageJpeg.width}"
|
||||||
|
height="${imageJpeg.height}"
|
||||||
|
type="image/jpeg"
|
||||||
alt="${alt}"
|
alt="${alt}"
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue