{{ partial "structure/article_meta" (dict "context" .) }} {{- if .Resources.ByType "image" -}} {{ if eq .Content "" }} {{ else }} {{ end }} {{ range .Resources.ByType "image" }} {{- $pic := . -}} {{- $thumb := $pic.Resize "1024x" }} {{ end }} {{- end }} {{- .Content -}} {{ define "sidebar" }} {{ T "tags" }} {{- with .Params.tags -}} {{- if ge (len .) 1 -}} {{- range . -}} #{{ . }} {{ end -}} {{- end -}} {{- end -}} {{ end }}