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.
Dieser Commit ist enthalten in:
Ursprung
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…
In neuem Issue referenzieren
Einen Benutzer sperren