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