public function index() { $data['pages'] = Model\Page::latest('date')->get(); $this->template->build('index', $data); }