Skip to content
Permalink
Browse files

Disabled default TOC when use "tocLayout=navbar" option

  • Loading branch information
giterlizzi committed Feb 5, 2020
1 parent 750b16c commit 7698dec731026b76cf0d8f7cddf181c4e945f9df
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.php
@@ -118,7 +118,7 @@

echo '<div class="dw-content-page '. implode(' ', $content_classes) .'">';

if ($toc) echo '<div class="dw-toc hidden-print">' . $toc . '</div>';
if ($toc && $TEMPLATE->getConf('tocLayout') == 'default') echo '<div class="dw-toc hidden-print">' . $toc . '</div>';

echo '<!-- content -->';
echo '<div class="dw-content">';

0 comments on commit 7698dec

Please sign in to comment.
You can’t perform that action at this time.