feat: add content elements, change backend preview

This commit is contained in:
2024-12-15 19:08:26 +01:00
parent 1076fe6447
commit 696881e4f8
15 changed files with 137 additions and 26 deletions

View File

@@ -0,0 +1,11 @@
<f:layout name="Default" />
<f:section name="Main">
<f:if condition="{data.header}">
<f:then><h2>{data.header}</h2></f:then>
</f:if>
<f:if condition="{data.bodytext}">
<f:then>
<div class="text-bodytext"><f:format.html>{data.bodytext}</f:format.html></div>
</f:then>
</f:if>
</f:section>