No pages found.
" +fi + +# Output the HTML list +echo "$html" diff --git a/default/.zs/nav b/default/.zs/nav new file mode 100755 index 0000000..6488a12 --- /dev/null +++ b/default/.zs/nav @@ -0,0 +1,57 @@ +#!/bin/sh + +# Get the directory of the current page +current_dir=$(dirname "$ZS_SOURCE_FILE") + +# Remove leading './' if present +case "$current_dir" in +./*) current_dir="${current_dir#./}" ;; +esac + +# Initialize the navigation HTML with the 'Home' link +if [ "$ZS_URL" = "index.html" ]; then + nav_html="