nitiwiki/examples: update templates
authorJean Privat <jean@pryen.org>
Thu, 3 Dec 2015 02:10:20 +0000 (21:10 -0500)
committerJean Privat <jean@pryen.org>
Thu, 3 Dec 2015 20:55:00 +0000 (15:55 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitiwiki/examples/default/config.ini
contrib/nitiwiki/examples/default/templates/header.html
contrib/nitiwiki/examples/nitiwiki/templates/menu.html

index 7917052..9ac9824 100644 (file)
@@ -1,4 +1,3 @@
 wiki.name=MyWiki
 wiki.desc=proudly powered by nit
 wiki.logo=assets/logo.png
-wiki.root_dir=/full/path/to/your/wiki/root/dir
index d86aac9..298f8ab 100644 (file)
@@ -1,5 +1,5 @@
 <header>
-    <a href="#"><img src="%ROOT_URL%/%LOGO%" alt="logo"/></a>
+    <a href="%ROOT_URL%/index.html"><img src="%ROOT_URL%/%LOGO%" alt="logo"/></a>
     <h2>%SUBTITLE%</h2>
     <h1>%TITLE%</h1>
 </header>
index 1ff832e..ec20a0e 100644 (file)
@@ -8,7 +8,7 @@
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                        </button>
-                       <a class="navbar-brand" href="%ROOT_URL%index.html">%TITLE%</a>
+                       <a class="navbar-brand" href="%ROOT_URL%/index.html">%TITLE%</a>
                </div>
                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">