diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/image.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index 4217f39..3718ee5 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -22,14 +22,14 @@ {{ end }} {{- $final2x_width := math.Mul $final1x_width 2}} -{{ $ext := "jpg" }} +{{ $ext := "png" }} {{ if eq .Params.transparency "yes" }} {{ $ext = "png" }} {{ end }} <!-- Generate 1x and 2x images --> -{{- $img1xproc := printf "%dx %s q90" $final1x_width $ext }} -{{- $img2xproc := printf "%dx %s q90" $final2x_width $ext }} +{{- $img1xproc := printf "%dx %s q95" $final1x_width $ext }} +{{- $img2xproc := printf "%dx %s q95" $final2x_width $ext }} {{- $img1x := $img.Resize $img1xproc }} {{- $img2x := $img.Resize $img2xproc }} |