{{ image.caption | default(html_attributes.caption, true) | e }}
{{ html_attributes.caption | default(image.caption, true) | e }}