diff --git a/model/Post.class.php b/model/Post.class.php index b8d8892f..cbc9fa81 100644 --- a/model/Post.class.php +++ b/model/Post.class.php @@ -110,7 +110,7 @@ class Post public function getRelativeUrl() { - return $this->postType . '/' . $this->slug; + return '/' . $this->postType . '/' . $this->slug; } public function getSlug() diff --git a/view/template/content/_postList.php b/view/template/content/_postList.php index a0ec09ab..f723d56c 100644 --- a/view/template/content/_postList.php +++ b/view/template/content/_postList.php @@ -2,7 +2,7 @@

Latest News

diff --git a/view/template/content/_postNav.php b/view/template/content/_postNav.php index 26f6473b..2a43decd 100644 --- a/view/template/content/_postNav.php +++ b/view/template/content/_postNav.php @@ -2,10 +2,10 @@