correctly update title for current index page
This commit is contained in:
parent
52b4b836f2
commit
a03113d112
1 changed files with 1 additions and 0 deletions
1
rivet.sh
1
rivet.sh
|
|
@ -224,6 +224,7 @@ if ! [ "$SKIP_LIST" ]; then
|
||||||
if [ "$indexf" = "$destdir/index.html" ]; then
|
if [ "$indexf" = "$destdir/index.html" ]; then
|
||||||
llinksec=$linksec
|
llinksec=$linksec
|
||||||
else
|
else
|
||||||
|
title="$(sed -E -n 's/.*<title>\s*(.+)\s*<\/title>.*/\1/p' "$indexf")"
|
||||||
llinksec="$linksec in $title"
|
llinksec="$linksec in $title"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue