Prechádzať zdrojové kódy

add a dummy news template

Olivier Massot 5 rokov pred
rodič
commit
2aebeea958

+ 24 - 0
ot_templating/Resources/Private/Templates/Page/News.html

@@ -0,0 +1,24 @@
+{namespace flux=FluidTYPO3\Flux\ViewHelpers}
+{namespace v=FluidTYPO3\Vhs\ViewHelpers}
+{namespace ot=Opentalent\OtTemplating\ViewHelpers}
+
+<f:comment><!-- uses the layout 1Col, defined in layouts/[templateName]/1Col.html --></f:comment>
+<f:layout name="{ot:template.current()}/1Col" />
+
+<f:section name='Configuration'>
+    <flux:form id="1col" label="Gabarit simple" extensionName="Opentalent.OtTemplating">
+    </flux:form>
+
+    <f:comment><!-- Backend layout grid --></f:comment>
+    <flux:grid>
+        <flux:grid.row>
+            <flux:grid.column colPos="0" name="Content" label="Contenu" />
+        </flux:grid.row>
+    </flux:grid>
+
+</f:section>
+
+<f:section name="Content">
+    <f:comment><!-- Render colPos=0 in this section --></f:comment>
+    <v:content.render column="0" />
+</f:section>