]> git.bts.cx Git - cx.git/blobdiff - cx/lib/posts.php
Updated Parsedown and fixed some bugs for pages
[cx.git] / cx / lib / posts.php
index 8ce6e6bf6a9ad923fe879f4cfac6e45807c56b34..d8f056d970d74c73af96978283630d6124db4890 100644 (file)
@@ -135,6 +135,7 @@ function cx_posts_get(int $limit = 0, int $offset = 0, bool $include_drafts = fa
                post_id,
                post_slug,
                post_date,
                post_id,
                post_slug,
                post_date,
+               post_is_page,
                post_is_draft,
                post_title,
                post_data
                post_is_draft,
                post_title,
                post_data
@@ -188,6 +189,7 @@ function cx_posts_find_post($post_id) {
                post_id,
                post_slug,
                post_date,
                post_id,
                post_slug,
                post_date,
+               post_is_page,
                post_is_draft,
                post_title,
                post_data
                post_is_draft,
                post_title,
                post_data
@@ -240,6 +242,7 @@ function cx_pages_get() {
                post_id,
                post_slug,
                post_date,
                post_id,
                post_slug,
                post_date,
+               post_is_page,
                post_is_draft,
                post_title,
                post_data
                post_is_draft,
                post_title,
                post_data