diff --git a/layouts/partials/featured.html b/layouts/partials/featured.html index 50af808..ef3ddb9 100644 --- a/layouts/partials/featured.html +++ b/layouts/partials/featured.html @@ -38,6 +38,10 @@ {{/* Rotate image before cropping because Hugo's "Smart" cropping crops differently if we do it at the same time as .Fill with a rotation) and use 2x dimensions to keep the thumbnail crisp */}} {{ $RotatedImage := $image.Resize "480x600 r90" }} + {{ else if eq $orientation 6 }} + {{ $RotatedImage := $image.Resize "480x600 r270" }} + + {{ else }} {{ end }}