<div class="list-of-sites">
    <div class="site-list">
        <?php
        foreach($sites as $site):
            echo $this->partial('common/site-list-entry', ['site' => $site, 'showSummary' => $summaries, 'showThumbnail' => $thumbnails]);
        endforeach;
        ?>
    </div>
    <?php
    if ($pagination):
        echo $this->pagination();
    endif;
    ?>
</div>
