ds-site/Resources/Private/Partials/ContentElements/Header.html
Daniel Siepmann 48a2ca6482 Also support TYPO3 native anchors
I have readable anchors and use them in sidebar.
I didn't invest time yet to alter TYPO3 generated anchors.
That's why I just add support for them.
2022-02-09 11:28:33 +01:00

8 lines
333 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<a name="c{uid}"></a>
<a name="{header -> f:format.id()}"></a>
<f:if condition="{layout} != 'hidden'">
<h{layout}>{header} <small><a href="#{header -> f:format.id()}"></a></small></h{layout}>
</f:if>
</html>