diff --git a/rivet.sh b/rivet.sh index 69c58d9..0f0dce0 100755 --- a/rivet.sh +++ b/rivet.sh @@ -224,6 +224,7 @@ if ! [ "$SKIP_LIST" ]; then if [ "$indexf" = "$destdir/index.html" ]; then llinksec=$linksec else + title="$(sed -E -n 's/.*\s*(.+)\s*<\/title>.*/\1/p' "$indexf")" llinksec="$linksec in $title" fi