Skip to content

Commit 00696d1

Browse files
Update insert_navbar.sh
1 parent b9e1ff3 commit 00696d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/scripts/insert_navbar.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ fi
1818

1919
# Directory containing HTML files
2020
HTML_DIR=$1
21-
# URL of the navigation bar HTML file
22-
NAVBAR_URL=$2
21+
# Source of the navigation bar HTML file
22+
NAVBAR_SOURCE=$2
2323
# Shift off the first two arguments so we can parse the rest
2424
shift 2
2525

@@ -51,7 +51,7 @@ fi
5151

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

0 commit comments

Comments
 (0)