X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fshortcodes%2Fimg.html;fp=layouts%2Fshortcodes%2Fimg.html;h=9f537cf183529308fd55f05dae1592fa79165876;hb=1bb5bdce0e57a62c05a3b6cbb49890acc2a94152;hp=f5f29caf38bfb3c7ba86680e605814d98d5c13b8;hpb=f112ccc8035741a1158a3341f3a8fea1422e5377;p=theme-danix.xyz.git diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index f5f29ca..9f537cf 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -27,7 +27,7 @@ $CFPstyle is for use in styling the div's background, as you'll see shortly. */}} -{{- $CFPstyle := printf "%s%s%s%v%s%v%s" "background: url(data:image/jpeg;base64," $LQIP_b64 "); background-size: cover; background-repeat: no-repeat; width: " $source.Width "px; height: " $source.Height "px;" -}} +{{- $CFPstyle := printf "%s%s%s%v%s" "background: url(data:image/jpeg;base64," $LQIP_b64 "); background-size: cover; background-repeat: no-repeat; width: " $source.Width "px;" -}} {{/* Then, we create a 640-pixel-wide JPG of the image. This will serve as the