From 978ae75a281a67cb17acec3f1d8622aebdfad402 Mon Sep 17 00:00:00 2001 From: Georg Lutz Date: Mon, 31 Jul 2017 22:57:31 +0200 Subject: [PATCH] Allow local usage by linking to index.html Link to index.html instead of directory. This allows the local browser to follow the links directly. Fixes https://github.com/Jack000/Expose/issues/24 . --- expose.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expose.sh b/expose.sh index 3aa8d3d..22b6d5b 100755 --- a/expose.sh +++ b/expose.sh @@ -652,7 +652,7 @@ do break fi done - navigation+="
  • ${nav_name[j]}
  • " + navigation+="
  • ${nav_name[j]}
  • " fi ((remaining--)) elif [ "${nav_depth[j]}" = "$depth" ] @@ -670,7 +670,7 @@ do break fi done - substring="
  • ${nav_name[j]}
  • {{marker$parent}}" + substring="
  • ${nav_name[j]}
  • {{marker$parent}}" fi navigation=$(template "$navigation" "marker$parent" "$substring") ((remaining--))