diff --git a/layouts/partials/hero/background.html b/layouts/partials/hero/background.html index ec3a9db9..ae4f2d67 100644 --- a/layouts/partials/hero/background.html +++ b/layouts/partials/hero/background.html @@ -18,7 +18,7 @@ {{ if $shouldAddHeaderSpace | default true}}
{{ end }} -{{ if $disableImageOptimization }} +{{ if or (eq .MediaType.SubType "svg" ) ($disableImageOptimization) }} {{ with . }}