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.
Cette révision appartient à :
Marie P-W 2018-09-21 12:34:34 +02:00 révisé par Stéphane Goetz
Parent 6b6a010261
révision ac4bb09d45

Voir le fichier

@ -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]);
}
}