{namespace neos=Neos\Neos\ViewHelpers}

<f:if condition="{neos:rendering.inBackend(node: node)}">
    <f:then>
        <div class="tb-event-filter-facet-option inline-block p-3 mr-2 mb-3 text-sm text-grey-darker border border-grey-light rounded-sm no-underline">
            {title}
        </div>
    </f:then>
    <f:else>
        <a href="{listUri}" class="tb-event-filter-facet-option inline-block p-3 mr-2 mb-3 text-sm text-grey-darker border border-grey-light rounded-sm no-underline">
            {title}
        </a>
    </f:else>
</f:if>
