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

Reviewed-on: http://git.alemauri.eu/alema/rivet/pulls/3
master
Alessandro Mauri 2 years ago
commit f830437dfb
  1. 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…
Cancel
Save