Changes for page Layout Section

Last modified by Admin Trust-IT on 2026/05/29 08:34

From version 1.2
edited by Admin Trust-IT
on 2026/05/29 08:34
Change comment: There is no comment for this version
To version 1.1
edited by Admin Trust-IT
on 2026/05/29 07:35
Change comment: Imported from XAR

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,5 +1,4 @@
1 -{{velocity}}
2 -{{container layoutStyle="columns"}}
3 -$!xcontext.macro.content
4 -{{/container}}
5 -{{/velocity}}
1 +#set($type = $xcontext.macro.params.type)
2 +{{html clean="false"}}<div class="cw-layout-section cw-$!type" style="display:flex; gap:20px; flex-wrap:wrap;">{{/html}}
3 +$xcontext.macro.content
4 +{{html clean="false"}}</div>{{/html}}
Execution is isolated
... ... @@ -1,1 +1,0 @@
1 -No