relative URI syntax in menu links
authorpaul <paul@plutz.net>
Wed, 18 Mar 2015 16:28:50 +0000 (16:28 +0000)
committerpaul <paul@plutz.net>
Wed, 18 Mar 2015 16:28:50 +0000 (16:28 +0000)
svn path=/trunk/; revision=57

page.sh

diff --git a/page.sh b/page.sh
index 48129c0..22e1671 100755 (executable)
--- a/page.sh
+++ b/page.sh
@@ -27,7 +27,7 @@ NAVIGATION() {
   for each in "${_EXEC}"/pages/*.sh; do
     link="$(echo "$each" |sed -r "s:^.*/([^/]*)\.sh$:\1:")"
     title="$($each title)"
-    [ -n "$title" ] && echo "/?page=$link $title"
+    [ -n "$title" ] && echo "?page=$link $title"
   done
 }