diff --git a/src/Page.php b/src/Page.php index 6c3ff1d..8627ade 100644 --- a/src/Page.php +++ b/src/Page.php @@ -67,7 +67,7 @@ public function directory() public function path() { if ($this->is404()) { - return $this->config['destination'].'/404.html'; + return $this->config['destination'] . '/404.html'; } $url = $this->url(); @@ -76,9 +76,7 @@ public function path() $url = $this->config['destination'].$url; - if ($ext === 'html') { - $url .= '/index.html'; - } + if ($ext === 'html') $url .= '/index.html'; return $url; }