public function index()
    {
        $items = News::active()->orderBy('created_at', 'DESC')->get()->take(6);

        return $this->view('titan::home')->with('news', $items)->with('hidePageFooter', true);
    }
public function index()
    {
        $items = News::active()->orderBy('created_at', 'DESC')->get()->take(6);

        return $this->view('titan::home')->with('news', $items)->with('hidePageFooter', true);
    }
public function index ( ) { $ items = News :: active ( ) -> orderBy ( 'created_at' , 'DESC' ) -> get ( ) -> take ( 6 ) ; return $ this -> view ( 'titan::home' ) -> with ( 'news' , $ items ) -> with ( 'hidePageFooter' , true ) ; }
Show the home page

@return \Illuminate\Http\Response
Show the home page