diff --git a/layouts/partials/author.html b/layouts/partials/author.html index 84c6e9d9..93d7236d 100644 --- a/layouts/partials/author.html +++ b/layouts/partials/author.html @@ -3,7 +3,9 @@ {{ with .Site.Language.Params.Author.image }} {{ $authorImage := resources.Get . }} {{ if $authorImage }} - {{ $authorImage := $authorImage.Fill "192x192 Center" }} + {{- if ne $authorImage.MediaType.SubType "svg" }} + {{ $authorImage := $authorImage.Fill "192x192 Center" }} + {{- end }}