Add ext:container to replace gridelements in the long run
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<html data-namespace-typo3-fluid="true" lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
||||
|
||||
<f:layout name="Default"/>
|
||||
|
||||
<f:section name="Main">
|
||||
<ep:container data="{data}" cssClasses="py-8">
|
||||
<f:if condition="{data.header_layout} != 100">
|
||||
<f:if condition="{data.header}">
|
||||
<f:render partial="Header/Header" arguments="{header: data.header, subheader: data.subheader, layout: data.header_layout, link: data.header_link}" />
|
||||
</f:if>
|
||||
</f:if>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<f:for each="{children_300}" as="record">
|
||||
{record.renderedContent -> f:format.raw()}
|
||||
</f:for>
|
||||
</div>
|
||||
</ep:container>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user