{namespace neos=Neos\Neos\ViewHelpers}
{f:if(condition: '{node.properties.heroImage.caption}', then: node.properties.heroImage.caption, else: node.properties.heroImage.title)}
{neos:contentElement.editable(property: 'heroTitle', tag: 'h2', class: 'c-hero__title')} {neos:contentElement.editable(property: 'heroSubtitle', tag: 'p', class: 'c-hero__subtitle')}
{image.caption}