diff --git a/composer.json b/composer.json index eb70429..bb67c7c 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "medienbaecker/kirby-modules", "description": "Easily add modules to your pages", - "version": "2.7.3", + "version": "2.7.0", "license": "MIT", "authors": [ { diff --git a/lib/models.php b/lib/models.php index 5a906c8..7b78b33 100644 --- a/lib/models.php +++ b/lib/models.php @@ -32,7 +32,7 @@ public function moduleName() { return $this->blueprint()->title(); } public function moduleId() { - return str_replace('.', '__', $this->intendedTemplate()); + return str_replace('.', '--', $this->intendedTemplate()); } public function parents(): Pages { $parents = parent::parents();