diff --git a/composer.json b/composer.json index d2a8846..39c772b 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "template", "template-engine" ], - "version": "1.5.1", + "version": "1.5.2", "type": "kirby-plugin", "license": "MIT", "authors": [ diff --git a/src/Template.php b/src/Template.php index 563c1dd..476098f 100644 --- a/src/Template.php +++ b/src/Template.php @@ -107,7 +107,7 @@ public function render(array $data = []): string public function isBlade() { - return !file_exists($this->getPathTemplates() . "/" . $this->name() . "." . $this->bladeExtension()); + return file_exists($this->getPathTemplates() . "/" . $this->name() . "." . $this->bladeExtension()); } public function bladeExtension(): string