<div class="hero-text">
    <header class="hero-header">
        <f:if condition="{data.subheader}">
            <f:then>
                <span class="header-kicker">{data.subheader}</span>
            </f:then>
            <f:else>
                <f:if condition="{page.subtitle}">
                    <span class="header-kicker">{v:page.info(field: 'subtitle')}</span>
                </f:if>
            </f:else>
        </f:if>
        <h1 class="header-title">
            <f:if condition="{data.header}">
                <f:then>{data.header -> f:format.html(parseFuncTSPath: 'lib.parseFuncHeader')}</f:then>
                <f:else>{v:page.info(field: 'title')}</f:else>
            </f:if>
        </h1>
    </header>
    <f:if condition="{data.bodytext}">
        <div class="lead">
            <f:format.html parseFuncTSPath="lib.parseFunc_RTE">{data.bodytext}</f:format.html>
        </div>
    </f:if>
</div>
