Fix TOC template rendering
TOC renderer only takes default template into account. Adding `theme::` fix it, it will use `theme` folder if there is one.
This commit is contained in:
bovenliggende
6b6a010261
commit
ac4bb09d45
@ -17,6 +17,6 @@ class Renderer implements BlockRendererInterface
|
||||
$content = $htmlRenderer->renderBlocks($block->children());
|
||||
return $this->config->templateRenderer
|
||||
->getEngine($this->config)
|
||||
->render('partials/table_of_contents', ['content' => $content]);
|
||||
->render('theme::partials/table_of_contents', ['content' => $content]);
|
||||
}
|
||||
}
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user