Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions assets/scripts/insert_navbar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fi

# Directory containing HTML files
HTML_DIR=$1
# URL of the navigation bar HTML file
NAVBAR_URL=$2
# Source of the navigation bar HTML file
NAVBAR_SOURCE=$2
# Shift off the first two arguments so we can parse the rest
shift 2

Expand Down Expand Up @@ -51,7 +51,7 @@ fi

# Check if the download was successful
if [ -z "$NAVBAR_HTML" ]; then
echo "Failed to download navbar HTML from '$NAVBAR_URL'"
echo "Failed to download navbar HTML from '$NAVBAR_SOURCE'"
exit 1
fi

Expand Down
Loading