{{- $image := .resource -}} {{- $resizedImages := dict "2x" ($image.Fit "960x960") "1x" ($image.Fit "480x480") -}}
{{ if .linksToFullSizeImage -}} {{- end -}} {{ . }} {{ if .linksToFullSizeImage -}} {{- end -}} {{ if .shouldShowTitle }} {{ partial "page/figures/caption.html" . }} {{ end }}