Cover image for API
This commit is contained in:
parent
40db0c6377
commit
c10586568f
|
@ -298,6 +298,8 @@ class Page {
|
|||
$tmp['date'] = $this->dateRaw();
|
||||
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
|
||||
$tmp['permalink'] = $this->permalink(true);
|
||||
$tmp['coverImage'] = $this->coverImage(true);
|
||||
$tmp['coverImageFilename'] = $this->coverImage(false);
|
||||
|
||||
if ($returnsArray) {
|
||||
return $tmp;
|
||||
|
|
Loading…
Reference in New Issue