From 75ec5f32f3bd6dcd57e1cbc8199503f481719658 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 25 Feb 2019 16:32:29 +0100 Subject: [PATCH] include slug for the API --- bl-kernel/pagex.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bl-kernel/pagex.class.php b/bl-kernel/pagex.class.php index a4785eef..1cc06334 100644 --- a/bl-kernel/pagex.class.php +++ b/bl-kernel/pagex.class.php @@ -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);