small fixes

This commit is contained in:
teldra 2022-06-15 22:16:29 +02:00
parent 7daff8fff9
commit 141a289187
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,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 style=\"width: 65%;\""><img loading=\"lazy\" src=\"%s\" width=\"%d\" height=\"%d\" /></p>" $c $img.Permalink $img.Width $img.Height -}} {{- $c = printf "%s<p style=\"width: 65%;\"><img loading=\"lazy\" src=\"%s\" width=\"%d\" height=\"%d\" /></p>" $c $img.Permalink $img.Width $img.Height -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}