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