From: paul Date: Wed, 18 Mar 2015 16:28:50 +0000 (+0000) Subject: relative URI syntax in menu links X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=faf607769bb49448d514b3d8ac1bdd0256004104;p=lobster relative URI syntax in menu links svn path=/trunk/; revision=57 --- diff --git a/page.sh b/page.sh index 48129c0..22e1671 100755 --- 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 }