{#if head}
{@render head()}
{:else} {/if}
{@render children()}
{#if foot}
{@render foot()}
{/if}