mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-21 14:51:54 +02:00
Update simple.html
This commit is contained in:
parent
e16d4b5efd
commit
02e106a0fb
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
||||||
{{- if not $featured }}{{ with .Site.Params.defaultFeaturedImage }}{{ $featured = resources.Get . }}{{ end }}{{ end -}}
|
{{- if not $featured }}{{ with .Site.Params.defaultFeaturedImage }}{{ $featured = resources.Get . }}{{ end }}{{ end -}}
|
||||||
{{ if .Params.hideFeatureImage }}{{ $featured = false }}{{ end }}
|
{{ if .Params.hideFeatureImage }}{{ $featured = false }}{{ end }}
|
||||||
{{- with $featured -}}
|
{{- with $featured -}}
|
||||||
{{ if $disableImageOptimization }}
|
{{ if or ( eq .MediaType.SubType "svg") $disableImageOptimization }}
|
||||||
{{ with . }}
|
{{ with . }}
|
||||||
<div class="{{ $articleImageClasses }}" style="background-image:url({{ .RelPermalink }});"></div>
|
<div class="{{ $articleImageClasses }}" style="background-image:url({{ .RelPermalink }});"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue