include slug for the API

This commit is contained in:
Diego Najar 2019-02-25 16:32:29 +01:00
parent 6b1020f0c4
commit 75ec5f32f3
1 changed files with 1 additions and 0 deletions

View File

@ -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);