diff options
Diffstat (limited to 'layouts/shortcodes/img-pull-right.html')
-rw-r--r-- | layouts/shortcodes/img-pull-right.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/img-pull-right.html b/layouts/shortcodes/img-pull-right.html index 7cf1238e..8d73f482 100644 --- a/layouts/shortcodes/img-pull-right.html +++ b/layouts/shortcodes/img-pull-right.html @@ -1,6 +1,6 @@ {{- $file := .Get 0 }} {{- $path := printf "content_images/%s" $file}} {{- $img := resources.Get $path }} -{{- $img = $img.Resize "150x" }} +{{- $img = $img.Resize "150x webp" }} {{- $caption := .Get 1}} <img class="float-right" alt="{{ $caption }}" src="{{ $img.Permalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> |