forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
96d0e35931
commit
335c101475
|
@ -89,8 +89,9 @@
|
|||
{{- end -}}
|
||||
|
||||
{{- range .Resources.ByType "image" -}}
|
||||
{{- if not (hasPrefix . "banner") }}
|
||||
{{- $c = printf "%s<img src=\"%s\" width=\"%d\" height=\"%d\" />" $c .Permalink .Width .Height -}}
|
||||
{{ $img := . }}
|
||||
{{- if not (hasPrefix $img.Name "banner") }}
|
||||
{{- $c = printf "%s<img src=\"%s\" width=\"%d\" height=\"%d\" />" $c $img.Permalink $img.Width $img.Height -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user