patch links
This commit is contained in:
parent
de7e9249de
commit
475d9d7f1b
@ -16,7 +16,7 @@ nav="$nav<A HREF=\"index.html\">^</A>";last="$f";done
|
|||||||
sed -i "s,__NAVIGATION__,$nav</P>," "$last"
|
sed -i "s,__NAVIGATION__,$nav</P>," "$last"
|
||||||
for f in *.html;do # e unibus puellam
|
for f in *.html;do # e unibus puellam
|
||||||
fi="$(echo "$f" | cut -d . -f 1)";test "$fi" = "index" && continue
|
fi="$(echo "$f" | cut -d . -f 1)";test "$fi" = "index" && continue
|
||||||
printf '<A HREF="%s.html">%s</A>\n' "$fi" "$fi"; done|sort -r|\
|
printf '<A HREF="/blah/%s.html">%s</A>\n' "$fi" "$fi"; done|sort -r|\
|
||||||
sed -e "1i<!DOCTYPE html><HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY><PRE>\
|
sed -e "1i<!DOCTYPE html><HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY><PRE>\
|
||||||
<A HREF="..">..</A>" -e '$a</PRE></BODY></HTML>'>index.html
|
<A HREF="..">..</A>" -e '$a</PRE></BODY></HTML>'>index.html
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user