Skip to content

Instantly share code, notes, and snippets.

@tv-schulz
tv-schulz / Default.html
Created November 17, 2014 14:41
One Pager Rendering VHS
<v:page.menu entryLevel="0" levels="1" expandAll="FALSE" as="subpages">
<f:for each="{subpages}" as="subpage">
{subpage.uid -> v:variable.register.set(name: 'subpage')}
<v:render.request action="render" controller="Page" arguments="{page:subpage}" pageUid="{subpage.uid}" extensionName="ExtKey" vendorName="Vendor" />
</f:for>
</v:page.menu>
<f:layout name="Content" />
<f:render section="Main" />