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