]> git.plutz.net Git - confetti/commitdiff
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 48129c00bdfd24b20b0a9eaf4a427de5f1f221a6..22e167119d140f3527adce2b2480ec2852514412 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
 }