summaryrefslogtreecommitdiff
path: root/inc/parser/renderer.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/renderer.php')
-rw-r--r--inc/parser/renderer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index a9c86c3f5..303af3db3 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -13,6 +13,7 @@ require_once DOKU_INC . 'inc/pluginutils.php';
class Doku_Renderer {
var $info = array(
'cache' => TRUE, // may the rendered result cached?
+ 'toc' => TRUE, // render the TOC?
);
@@ -20,6 +21,10 @@ class Doku_Renderer {
$this->info['cache'] = FALSE;
}
+ function notoc() {
+ $this->info['toc'] = FALSE;
+ }
+
//handle plugin rendering
function plugin($name,$data){
$plugin =& plugin_load('syntax',$name);