diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index 7a67ac148..adcc99acd 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -926,9 +926,6 @@ class Page // Path to the page. $this->path = dirname(dirname($var)); } - if ($this->modular()) { - return $this->name ? $this->path . '/' . $this->folder . '.md' : null; - } return $this->name ? $this->path . '/' . $this->folder . '/' . $this->name : null; }