From e16d4b5efd9d798e064a18dd2f11b7fc9e55c172 Mon Sep 17 00:00:00 2001
From: Wolf Noble <1680659+wolfspyre@users.noreply.github.com>
Date: Wed, 23 Aug 2023 19:24:13 -0500
Subject: [PATCH] Update author.html
---
layouts/partials/author.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/layouts/partials/author.html b/layouts/partials/author.html
index f519db94..22c199f5 100644
--- a/layouts/partials/author.html
+++ b/layouts/partials/author.html
@@ -4,7 +4,9 @@
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ if not $disableImageOptimization }}
+ {{- if not (eq $authorImage.MediaType.SubType "svg") -}}
{{ $authorImage = $authorImage.Fill "192x192" }}
+ {{- end -}}
{{ end }}
@@ -24,4 +26,4 @@
{{ end }}