Exemple #1
0
 /**
  * Execute index action (default)
  *
  * @access public
  * @return void
  */
 public function index()
 {
     the_post();
     $post = get_post();
     $params = array('p' => $post->ID);
     $this->data["partials"] = Partial::load($params);
     $this->data["articles"] = Article::load();
     $this->render('blog/index', $this->data);
 }