{namespace neos=Neos\Neos\ViewHelpers}

<f:if condition="{neos:rendering.inBackend()}">
	<f:then>
		<div>
			{headlines -> f:format.raw()}
		</div>
	</f:then>
	<f:else>
		<div data-component="SentenceSwitcher"{attributes -> f:format.raw()}
			data-wordClassName="headlineSlider__word"
			data-animatingWordClassName="headlineSlider__word--isAnimating">
			{headlines -> f:format.raw()}
		</div>
	</f:else>
</f:if>
