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 +