diff --git a/layouts/partials/image.html b/layouts/partials/image.html index d6a747f5..80e510b5 100644 --- a/layouts/partials/image.html +++ b/layouts/partials/image.html @@ -35,6 +35,7 @@ {{ .alt }} {{ else }} + {{ $image := $image.Filter (images.AutoOrient) }} {{ $minWidth := .page.Site.Params.imageResize.min | default 300 }} {{ $maxWidth := .page.Site.Params.imageResize.max | default 700 }}