{if $Template->getAttribute('content-body') && $Site->getAttribute('content')}
{$Site->getAttribute('content')}
{/if}
{foreach from=$categories item=Category} {assign var=nextCategoryLevel value=false} {if $Category->getAttribute('type') == 'quiqqer/faq:types/list'} {assign var=nextCategoryLevel value=true} {/if}

## {$Category->getAttribute('title')}

{$Category->getAttribute('short')}
{if !$nextCategoryLevel} {locale group="quiqqer/faq" value="more"} {/if} {if $nextCategoryLevel} {assign var=faqList value=$Category->getChildren()} {if count($faqList)}

{assign var=position value=1} {foreach $faqList as $Faq}
- {if $Faq->getAttribute('type') == 'quiqqer/faq:types/entry'} {else} {/if} {$Faq->getAttribute('title')} {assign var=position value=$position+1}
{/foreach}

{/if} {/if}
{/foreach} {* *}
{* *}