<div class="card">
    <div class="card-body">
        <h5 class="h5">Recent Posts</h5>
        <hr>
        <div class="list-group list-group-flush">
            <?php for($i=0; $i < $limit; $i++): ?>
            <div class="media mb-3">
                <div class="media-body">
                    <h6 class="mt-0 mb-1 h6">Komunitas Codeigniter Indonesia Mengadakan Meetup</h6>
                    <small class="text-secondary">23 Sep 2020 · baca 2 menit</small>
                </div>
                <img class="rounded ml-3" src="https://www.uym.ac.id/assets/internal/logo-uym.png" width="60" height="60">
            </div>
            <?php endfor; ?>
        </div>
    </div>
</div>