small fixes

This commit is contained in:
teldra 2022-06-15 22:06:24 +02:00
parent 2f69f94384
commit 4e3a5454ce
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@
{{- end -}}
{{- range .Resources.ByType "image" -}}
{{ $img := . }}
{{- $img := . -}}
{{- 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 -}}
{{- end -}}