fixed creation of links to branches for generated index.html
parent
74daa3224c
commit
d2e0165857
|
|
@ -22,7 +22,7 @@ EOF
|
|||
for branch_folder in "$BRANCHES_DIR"/*; do
|
||||
branch_name=$(basename "$branch_folder")
|
||||
if [ "$branch_name" != "assets" ] && [ -f "$branch_folder/index.html" ]; then
|
||||
echo " <li><a href=\"$branch_name/index.html\">$branch_name</a></li>"
|
||||
echo " <li><a href=\"branches/$branch_name/index.html\">$branch_name</a></li>"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue