<!DOCTYPE html>
<html>
<head><title>Daftar Post</title></head>
<body>
    <h1>Semua Post</h1>
    @foreach($posts as $post)
        <h2><a href="/posts/{{ $post->id }}">{{ $post->title }}</a></h2>
    @endforeach
</body>
</html>
