/** * Home page * @param $url String * @return \Illuminate\View\View */ public function showPage($url = 'home') { $content = $this->page->getPageByUrl($url); $this->title = $content->header; return $this->getView('page', ['url' => $url, 'content' => $content]); }