diff --git a/parser/parser.php b/parser/parser.php index 5707ecc..2255dc5 100644 --- a/parser/parser.php +++ b/parser/parser.php @@ -52,7 +52,7 @@ public function parse($document) { // print_r($this->template); } - public function get_posts($document) { + public function get_posts($document) { $html = preg_replace_callback( $this->block_pattern('Posts'), array($this, 'render_posts'), @@ -66,7 +66,7 @@ public function render_posts($matches) { $html = ''; $posts = $this->template['Posts']; foreach ($posts as $index => $post) { - //render non-post blocks + //render post blocks non-specific to type: permalink, etc. $html .= $this->render_post($post, $this->select_by_type($post, $block)); } return $html;