+++ /dev/null
-title = another test
---
-yeah some more content for another test post in category1
\ No newline at end of file
+++ /dev/null
-title = a sub entry
---
-a sub entry content
\ No newline at end of file
+++ /dev/null
-title = waaaya deep
---
-yeah yeah
\ No newline at end of file
+++ /dev/null
-title = another test post
---
-this is some content yo yo yo CATEGORY 2 in DA HIZ
\ No newline at end of file
+++ /dev/null
-title = another test post
-date = 2010-07-01
-tags = with different tags
---
-
-this is an older test post!
-
-`some code`
-
-CAT 222 in DA HIZ
\ No newline at end of file
$v = new View ($request);
$m = new Model ($request);
-
if ($m->is_single())
$v->assign('entry', $m->entry);
else if ($m->is_page())
$v->assign('entries', $m->entries);
header("Content-Type: {$m->response_mime_type}; charset=UTF-8");
-
-$v->render( $m->template );
+$v->render( $m->template );
$this->page_request = $this->request['filename'];
- # if multiple entries (dir in CONTENT dir)
+ # if entries (dir in CONTENT dir)
if ($this->is_multiple()) {
- # check if config file exists
+ # check if config file exists in dir
if ($this->has_config()) {
$this->config = parse_config( $this->content_request );
if (isset($this->config['config']['template'])) {
}
- # if single entry (file in CONTENT dir)
+ # if entry (file in CONTENT dir)
else if ($this->is_single())
{
$this->entry = get_entry( $this->content_request );