diff --git a/bl-kernel/admin/themes/gris b/bl-kernel/admin/themes/gris new file mode 160000 index 00000000..fe85fc43 --- /dev/null +++ b/bl-kernel/admin/themes/gris @@ -0,0 +1 @@ +Subproject commit fe85fc4343716d558745d2236a456761756e6a08 diff --git a/bl-kernel/pagex.class.php b/bl-kernel/pagex.class.php index 1cc06334..252eb785 100644 --- a/bl-kernel/pagex.class.php +++ b/bl-kernel/pagex.class.php @@ -255,7 +255,7 @@ class Page { return ''; } // Return string with tags separated by comma. - return implode(', ', $tags); + return implode(',', $tags); } public function json($returnsArray=false) @@ -268,6 +268,7 @@ class Page { $tmp['type'] = $this->type(); $tmp['slug'] = $this->slug(); $tmp['date'] = $this->dateRaw(); + $tmp['tags'] = $this->tags(false); $tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT); $tmp['permalink'] = $this->permalink(true); $tmp['coverImage'] = $this->coverImage(true);