Manage table of contents differently

This commit is contained in:
Stéphane Goetz
2017-12-11 21:14:18 +01:00
parent e844b51f10
commit 91014cef8b
14 changed files with 109 additions and 24 deletions

View File

@ -104,8 +104,6 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage
$context = ['page' => $page, 'params' => $params];
$template = new Template($params);
return $template->render($this->isLanding() ? 'theme::home' : 'theme::content', $context);
return $this->templateRenderer->render($this->isLanding() ? 'theme::home' : 'theme::content', $context);
}
}