|
|
|
@ -220,11 +220,18 @@ if ! [ "$SKIP_LIST" ]; then |
|
|
|
|
|
|
|
|
|
grep "$outdir" "$linklist" > "$llinklist" |
|
|
|
|
|
|
|
|
|
# Modify "Pages" header to show the current section |
|
|
|
|
if [ "$indexf" = "$destdir/index.html" ]; then |
|
|
|
|
llinksec=$linksec |
|
|
|
|
else |
|
|
|
|
llinksec="$linksec in this section" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
tmpfile="$(mktemp)" |
|
|
|
|
rm -f "$tmpfile" |
|
|
|
|
cat << EOF >> "$tmpfile" |
|
|
|
|
<div id="map"> |
|
|
|
|
<h2 id="Pages">$linksec</h2> |
|
|
|
|
<h2 id="Pages">$llinksec</h2> |
|
|
|
|
EOF |
|
|
|
|
count='0' |
|
|
|
|
while IFS="" read -r line; do |
|
|
|
|