diff --git a/src/FileHandlers/BaseHandler.php b/src/FileHandlers/BaseHandler.php index 7e91b36..815dcb7 100644 --- a/src/FileHandlers/BaseHandler.php +++ b/src/FileHandlers/BaseHandler.php @@ -78,7 +78,7 @@ public function handle(SplFileInfo $file) sprintf( '%s/%s', $this->prepareAndGetDirectory(), - in_array($file->getExtension(), ['php', 'md']) ? 'index.html' : $file->getFilename() + ends_with($file->getFilename(), ['.blade.php', 'md']) ? 'index.html' : $file->getFilename() ), $content );