Update simple.html

This commit is contained in:
Wolf Noble 2023-08-23 19:26:22 -05:00 committed by GitHub
parent e16d4b5efd
commit 02e106a0fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 . }}
<div class="{{ $articleImageClasses }}" style="background-image:url({{ .RelPermalink }});"></div>
{{ end }}