public function index() { $this->template("header", ["title" => App::NAME, "subtitle" => App::TAGLINE, "categories" => ArticleCategory::getObjsAll()]); // $this->template("hero", ["title" => "News"]); $this->view("front/index", ["articles" => Article::getObjsAll()]); $this->template("footer"); }