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

{include title}

{var $group = false} {if count($namespaces)}

Namespaces summary

{foreach $namespaces as $namespace} {continueIf $config->main && 0 !== strpos($namespace, $config->main)} {var $group = true} {/foreach}
{$namespace}
{/if} {if count($packages)}

Packages summary

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