diff --git a/Classes/Controller/BlogController.php b/Classes/Controller/BlogController.php index 7de42ba..6bdd4d2 100755 --- a/Classes/Controller/BlogController.php +++ b/Classes/Controller/BlogController.php @@ -216,6 +216,7 @@ public function createAction(string $title, string $blogIdentifier) { $nodeTemplate->setProperty('title', $title); $nodeTemplate->setProperty('author', $author); $nodeTemplate->setProperty('archived', false); + $nodeTemplate->setProperty('postType', 'news'); $nodeTemplate->setHiddenInIndex(true); $published = new \DateTime(); @@ -263,4 +264,4 @@ protected function getBlogNode(string $workspace, string $blogIdentifier){ return $blogNode; } -} \ No newline at end of file +}