diff --git a/layouts/partials/hero/big.html b/layouts/partials/hero/big.html index cbdce5d5..90ee4ea3 100644 --- a/layouts/partials/hero/big.html +++ b/layouts/partials/hero/big.html @@ -6,7 +6,7 @@ {{- $alt := .Page.Title -}} {{- with .Page.Params.alt }}{{ $alt = . }}{{ end -}} {{- with $featured -}} - {{ if $disableImageOptimization }} + {{ if or (eq .MediaType.SubType "svg" ) ($disableImageOptimization) }} {{ with . }} {{ $alt }} {{ end }} @@ -15,4 +15,4 @@ {{ $alt }} {{ end }} {{ end }} -{{- end -}} \ No newline at end of file +{{- end -}}