summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/img-center.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/img-center.html')
-rw-r--r--layouts/shortcodes/img-center.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/img-center.html b/layouts/shortcodes/img-center.html
index 398ccccf..57365077 100644
--- a/layouts/shortcodes/img-center.html
+++ b/layouts/shortcodes/img-center.html
@@ -3,7 +3,7 @@
{{- $img := resources.Get $path }}
{{- $caption := .Get 1 }}
{{- $source := .Get 2 }}
-{{- $img = $img.Resize "500x" }}
+{{- $img = $img.Resize "500x webp" }}
<figure>
<img class="centered" alt="{{ $caption }}" src="{{ $img.RelPermalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}">
<figcaption>