<div class="container-fluid hero-text">
    <f:if condition="{data.subheader}">
        <div class="hero-subheader">{data.subheader}</div>
    </f:if>
    <f:if condition="{data.header}">
        <h1 class="hero-header">{data.header}</h1>
    </f:if>
    <f:if condition="{data.bodytext}">
        <div class="hero-lead">{data.bodytext -> f:format.html()}</div>
    </f:if>
</div>
