{layout '@layout.latte'} {var $active = 'overview'} {block title}{$config->title ?: 'Overview'}{/block} {block content}

{include title}

{var $group = false} {foreach $namespaces as $namespace} {continueIf $config->main && 0 !== strpos($namespace, $config->main)} {var $group = true} {/foreach}
Namespaces summary
{$namespace}
{foreach $packages as $package} {continueIf $config->main && 0 !== strpos($package, $config->main)} {var $group = true} {/foreach}
Packages summary
{$package}
{if ! $group} {include '@elementlist.latte'} {/if}
{/block}