diff --git a/layouts/partials/image.html b/layouts/partials/image.html
index e912e015..0dd6495b 100644
--- a/layouts/partials/image.html
+++ b/layouts/partials/image.html
@@ -15,20 +15,20 @@
{{- $widths := slice -}}
- {{- if gt $image.Width 2200 -}}
- {{- $widths = $widths | append 2200 -}}
+ {{- if gt $image.Width 500 -}}
+ {{- $widths = $widths | append 500 -}}
{{- end -}}
- {{- if gt $image.Width 1500 -}}
- {{- $widths = $widths | append 1500 -}}
+ {{- if gt $image.Width 800 -}}
+ {{- $widths = $widths | append 800 -}}
{{- end -}}
{{- if gt $image.Width 1200 -}}
{{- $widths = $widths | append 1200 -}}
{{- end -}}
- {{- if gt $image.Width 800 -}}
- {{- $widths = $widths | append 800 -}}
+ {{- if gt $image.Width 1500 -}}
+ {{- $widths = $widths | append 1500 -}}
{{- end -}}
- {{- if gt $image.Width 500 -}}
- {{- $widths = $widths | append 500 -}}
+ {{- if gt $image.Width 2200 -}}
+ {{- $widths = $widths | append 2200 -}}
{{- end -}}
{{- $srcset := slice -}}
@@ -37,6 +37,6 @@
{{- $srcset = $srcset | append (printf "%s %dw" .RelPermalink $width) -}}
{{- end -}}
{{- end -}}
-
+ {{- $srcset = $srcset | append (printf "%s %dw" $image.RelPermalink $image.Width) -}}
{{- printf "
" $image.RelPermalink $loading (delimit $srcset ", ") | safeHTML -}}