]> git.bts.cx Git - cx.git/blobdiff - cx/lib/posts.php
Fixes for pages
[cx.git] / cx / lib / posts.php
index 64374333e6636212486f084cd7c838c6016a2b96..f056c8834797ada3b96a028e07c61a5f6c283b80 100644 (file)
@@ -19,6 +19,7 @@ class Post {
        public $title;
        public $slug;
        public $date;
        public $title;
        public $slug;
        public $date;
+       public $is_page;
        public $is_draft;
        public $data;
        public $html_content;
        public $is_draft;
        public $data;
        public $html_content;
@@ -29,6 +30,7 @@ class Post {
                $this->title = $dict['post_title'];
                $this->slug = $dict['post_slug'];
                $this->date = $dict['post_date'];
                $this->title = $dict['post_title'];
                $this->slug = $dict['post_slug'];
                $this->date = $dict['post_date'];
+               $this->is_page = $dict['post_is_page'];
                $this->is_draft = $dict['post_is_draft'];
                $this->data = $dict['post_data'];
                $this->html_content = cx_markdown_generate_html($this->data);
                $this->is_draft = $dict['post_is_draft'];
                $this->data = $dict['post_data'];
                $this->html_content = cx_markdown_generate_html($this->data);