correctly update title for current index page

This commit is contained in:
emamaker 2023-05-19 23:51:47 +02:00
parent 52b4b836f2
commit a03113d112

View File

@ -224,6 +224,7 @@ if ! [ "$SKIP_LIST" ]; then
if [ "$indexf" = "$destdir/index.html" ]; then
llinksec=$linksec
else
title="$(sed -E -n 's/.*<title>\s*(.+)\s*<\/title>.*/\1/p' "$indexf")"
llinksec="$linksec in $title"
fi