badeendjuh / dokubootstrap-simplified

A simple Dokuwiki template based on Bootstrap
https://www.dokuwiki.org/template:dokubootstrapsimplified
GNU General Public License v2.0
29 stars 15 forks source link

home link points to namespace start page #15

Open pmik76 opened 10 years ago

pmik76 commented 10 years ago

Hello there I just noticed that if you create the first page within a namespace, i.e. ns1:start and open it, when you click the homepage link (upperleft), the link is the startpage of the namespace (/ns1). I checked with the default template of DokuWiki, it works as it should. I am totally new to DokuWiki. It could be that I am talking nonsense.

pmik76 commented 10 years ago

in main.php

<a class="navbar-brand" href="./"><?php echo $conf['title']; ?></a>

should be

<a class="navbar-brand" href="/"><?php echo $conf['title']; ?></a>

maybe?