-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi there, thanks for your work on this project!
At work we are using the TYPO3 CMS. It uses the "Fluid" template engine which is an embedded language. I was wondering if it would be a lot of work for you to add support for it? It's quite niche and I'm not experienced enough to extend or modify your parser to add support for it.
Here is some example syntax:
<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<f:if condition="{data.header_layout} != 100">
<f:if condition="{data.header} || {data.subheader}">
<header class=" {f:if(condition: data.header_colour, then: data.header_colour)}">
<f:render partial="Header/Header" arguments="{
header: data.header,
layout: data.header_layout,
fragmentIdentifier: fragmentIdentifier,
renderAnchorLink: data.tx_content_slug_link,
default: settings.defaultHeaderType,
parent: {
CType: data.tx_container_parent.CType,
numbering_trigger: data.tx_container_parent.numbering_trigger
}
}" />
<f:render partial="Header/SubHeader" arguments="{
subheader: data.subheader,
layout: data.header_layout,
default: settings.defaultHeaderType}" />
</header>
</f:if>
</f:if>
</html>
It uses 'f:...' a lot. I can understand if it's too much work and out of range for this project. Thought I would ask anyway, thanks for reading in any case :)
Metadata
Metadata
Assignees
Labels
No labels