diff --git a/Classes/Controller/CommentController.php b/Classes/Controller/CommentController.php
index 0b9a0574..90b744d8 100644
--- a/Classes/Controller/CommentController.php
+++ b/Classes/Controller/CommentController.php
@@ -83,6 +83,7 @@ public function commentsAction(): void
$this->blogCacheService->addTagToPage('tx_blog_comment_' . $comment->getUid());
}
$this->view->assign('comments', $comments);
+ $this->view->assign('post', $post);
}
}
}
diff --git a/Classes/Controller/PostController.php b/Classes/Controller/PostController.php
index 30719d6b..e16a762d 100644
--- a/Classes/Controller/PostController.php
+++ b/Classes/Controller/PostController.php
@@ -363,7 +363,7 @@ public function relatedPostsAction(): void
(int)$this->settings['relatedPosts']['limit']
);
$this->view->assign('type', 'related');
- $this->view->assign('currentPost', $post);
+ $this->view->assign('post', $post);
$this->view->assign('posts', $posts);
}
diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf
index 7afd455d..cbe9cf7f 100644
--- a/Resources/Private/Language/locallang.xlf
+++ b/Resources/Private/Language/locallang.xlf
@@ -4,6 +4,14 @@
@@ -18,4 +20,5 @@{post.title}
{post.title}