first good looking code
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="Main">
|
||||
<div id="content" class="container">
|
||||
<div class="row">
|
||||
<f:if condition="{marginal-content}">
|
||||
<f:then>
|
||||
<article class="content col-12 col-md-8">
|
||||
<f:cObject typoscriptObjectPath="lib.getHeadline" />
|
||||
{main-content -> f:format.raw()}
|
||||
</article>
|
||||
<aside class="marginal col-12 col-md-4">
|
||||
{marginal-content -> f:format.raw()}
|
||||
</aside>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<article class="content col-12 col-md-8">
|
||||
<f:cObject typoscriptObjectPath="lib.getHeadline" />
|
||||
{main-content -> f:format.raw()}
|
||||
</article>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{footer-content -> f:format.raw()}
|
||||
</footer>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user