diff --git a/pico_toc.php b/pico_toc.php index c1e9848..c004464 100644 --- a/pico_toc.php +++ b/pico_toc.php @@ -18,8 +18,8 @@ public function onConfigLoaded(&$config) { $this->headinglevel = isset($config["headerlv"]["level"]) ? $config["headerlv"]["level"] : 3; - } - + } + public function onPageRendering(&$templateName, array &$twigVariables) { $content = $twigVariables["content"];