include slug for the API
This commit is contained in:
parent
6b1020f0c4
commit
75ec5f32f3
@ -266,6 +266,7 @@ class Page {
|
||||
$tmp['contentRaw'] = $this->contentRaw(true); // No Markdown parsed
|
||||
$tmp['description'] = $this->description();
|
||||
$tmp['type'] = $this->type();
|
||||
$tmp['slug'] = $this->slug();
|
||||
$tmp['date'] = $this->dateRaw();
|
||||
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
|
||||
$tmp['permalink'] = $this->permalink(true);
|
||||
|
Loading…
Reference in New Issue
Block a user