diff --git a/modules/StaticPages/Handlers/StaticPage.php b/modules/StaticPages/Handlers/StaticPage.php index 5967b97a..abb34bd5 100644 --- a/modules/StaticPages/Handlers/StaticPage.php +++ b/modules/StaticPages/Handlers/StaticPage.php @@ -30,6 +30,6 @@ class StaticPage extends Handler */ public function render(Content $content, $parameters) { - return Controller::VisitorsView('staticpages::content', ['page' => $content]); + return Controller::VisitorsView($content->template, ['page' => $content]); } } \ No newline at end of file