From 02e106a0fbf0c600e82a57b09dbff3049974d32a Mon Sep 17 00:00:00 2001 From: Wolf Noble <1680659+wolfspyre@users.noreply.github.com> Date: Wed, 23 Aug 2023 19:26:22 -0500 Subject: [PATCH] Update simple.html --- layouts/partials/article-link/simple.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article-link/simple.html b/layouts/partials/article-link/simple.html index 48718a66..14b3eeb6 100644 --- a/layouts/partials/article-link/simple.html +++ b/layouts/partials/article-link/simple.html @@ -43,7 +43,7 @@ {{- if not $featured }}{{ with .Site.Params.defaultFeaturedImage }}{{ $featured = resources.Get . }}{{ end }}{{ end -}} {{ if .Params.hideFeatureImage }}{{ $featured = false }}{{ end }} {{- with $featured -}} - {{ if $disableImageOptimization }} + {{ if or ( eq .MediaType.SubType "svg") $disableImageOptimization }} {{ with . }}
{{ end }} @@ -94,4 +94,4 @@ {{ end }} - \ No newline at end of file +