{layout name="layout" /}
{$category.title ?? ''}

{:nl2br($category.description ?? '')}

{if isset($categoryChildren) && count($categoryChildren) >0} {foreach $categoryChildren as $idx => $cate} {php} $active = ''; if($categoryId == $cate['id']) { $active = 'active'; } elseif ($categoryId == $topCategory['id'] && $idx == 0) { $active = 'active'; } {/php}
{$cate.title}
{/foreach} {/if}
{if isset($items)}

{foreach $items as $item}

- {$item.title}

{/foreach}

{$items->render()|raw}
{$items->render(5)|raw}
{/if}