find("template=router, features=$page->name"); $output = ''; foreach($routers as $router){ $title = $router->title; $image = (count($router->image) ? $router->image->first()->size(300,300)->url : 'https://placehold.it/300x300'); $features = getTag($router->features, 3); $output .= "
$title
    $features
"; } $sidebar = renderSidebarFilter(); $content = "
$output
$sidebar";