include tags in json function
This commit is contained in:
parent
86fa5bd2b3
commit
820b1c7207
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fe85fc4343716d558745d2236a456761756e6a08
|
|
@ -268,6 +268,7 @@ class Page {
|
||||||
$tmp['type'] = $this->type();
|
$tmp['type'] = $this->type();
|
||||||
$tmp['slug'] = $this->slug();
|
$tmp['slug'] = $this->slug();
|
||||||
$tmp['date'] = $this->dateRaw();
|
$tmp['date'] = $this->dateRaw();
|
||||||
|
$tmp['tags'] = $this->tags(false);
|
||||||
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
|
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
|
||||||
$tmp['permalink'] = $this->permalink(true);
|
$tmp['permalink'] = $this->permalink(true);
|
||||||
$tmp['coverImage'] = $this->coverImage(true);
|
$tmp['coverImage'] = $this->coverImage(true);
|
||||||
|
|
Loading…
Reference in New Issue