Merge pull request 'correctly update title for current index page' () from EmaMaker/rivet:master into master

Reviewed-on: http://git.alemauri.eu/alema/rivet/pulls/3
This commit is contained in:
Alessandro Mauri 2023-05-29 11:36:09 +02:00
commit f830437dfb

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