/** * [list description] * @return [type] [description] */ public function blog() { // $post = \Post::type('post')->status('published'); $posts = \Post::type('post')->published()->get(); // dd($posts); return view('posts.list', compact('posts')); }