diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index 7ba08a7e..37fb6ca9 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -9,12 +9,16 @@ {{ $authorImage := resources.Get . }} {{ if $authorImage }} {{ if not $disableImageOptimization }} - {{ $authorImage = $authorImage.Fill "288x288" }} + {{- if not (eq $authorImage.MediaType.SubType "svg") -}} + {{ $authorImage = $authorImage.Fill "288x288" }} + {{- end -}} {{ end }} {{ $.Site.Author.name | default