added support for the sitemapnavi plugin

When installed the navigation can be switched between the default
sidebar based navigation and the site tree
This commit is contained in:
Andreas Gohr 2019-03-12 10:40:53 +01:00
commit c1e0eaa830
8 changed files with 113 additions and 16 deletions

View file

@ -1,8 +1,7 @@
<nav class="nav-main">
<?php /* main navigation, loaded from sidebar, fixed up by javascript */
tpl_include_page($conf['sidebar'], 1, 1);
?>
</nav>
<?php
echo \dokuwiki\template\sprintdoc\Template::getInstance()->getNavigation();
?>
<nav class="nav-sitetools">
<div class="nav"><a href="#sidebar-site-tools" role="heading" aria-level="2">