small fixes
This commit is contained in:
parent
4e3a5454ce
commit
3da842c761
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
{{- range .Resources.ByType "image" -}}
|
{{- range .Resources.ByType "image" -}}
|
||||||
{{- $img := . -}}
|
{{- $img := . -}}
|
||||||
{{- if not (hasPrefix $img.Name "banner") }}
|
{{- if not (hasPrefix $img.Name "banner") -}}
|
||||||
{{- $c = printf "%s<p><img loading=\"lazy\" src=\"%s\" width=\"%d\" height=\"%d\" /></p>" $c $img.Permalink $img.Width $img.Height -}}
|
{{- $c = printf "%s<p><img loading=\"lazy\" src=\"%s\" width=\"%d\" height=\"%d\" /></p>" $c $img.Permalink $img.Width $img.Height -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue