|
|
@ -219,12 +219,19 @@ if ! [ "$SKIP_LIST" ]; then |
|
|
|
mv "$tmpsed" "$lobjlist" |
|
|
|
mv "$tmpsed" "$lobjlist" |
|
|
|
|
|
|
|
|
|
|
|
grep "$outdir" "$linklist" > "$llinklist" |
|
|
|
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)" |
|
|
|
tmpfile="$(mktemp)" |
|
|
|
rm -f "$tmpfile" |
|
|
|
rm -f "$tmpfile" |
|
|
|
cat << EOF >> "$tmpfile" |
|
|
|
cat << EOF >> "$tmpfile" |
|
|
|
<div id="map"> |
|
|
|
<div id="map"> |
|
|
|
<h2 id="Pages">$linksec</h2> |
|
|
|
<h2 id="Pages">$llinksec</h2> |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
count='0' |
|
|
|
count='0' |
|
|
|
while IFS="" read -r line; do |
|
|
|
while IFS="" read -r line; do |
|
|
|