{{ partial "structure/article_meta" (dict "context" . "visible" "all" ) }} {{- if .Resources.ByType "image" -}} {{ if eq .Content "" }} {{ else }} {{ end }} {{ range .Resources.ByType "image" }} {{- $pic := . -}} {{- $thumb := $pic.Resize "1024x" }} {{ end }} {{- end }} {{- .Content -}}