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.
This commit is contained in:
Daniel Siepmann 2022-02-09 11:28:33 +01:00
parent f6f3100684
commit 48a2ca6482

View file

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