From 2add68580b1921d1aa502d4e686926e0ac3747de Mon Sep 17 00:00:00 2001 From: emamaker Date: Fri, 19 May 2023 23:51:47 +0200 Subject: [PATCH] correctly update title for current index page --- rivet.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rivet.sh b/rivet.sh index 69c58d9..90a4026 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