Make troff-generated html pages look a bit better
This commit is contained in:
parent
4a14f71e8d
commit
3166d95763
5 changed files with 16 additions and 13 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/rc
|
||||
for ( d in sites/*/ ) {
|
||||
#!/usr/bin/env rc
|
||||
|
||||
du -a $d | awk '/\.(md|html)$/ { print $2 }; {}' | 9 sed -e 's/\.(md|html)$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
|
||||
echo foo
|
||||
for ( d in sites/*/ ) {
|
||||
echo $d
|
||||
9 du -a $d | awk '/\.(md|html)$/ { print $2 }; {}' | 9 sed -e 's/\.(md|html)$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@ allow_archive = bz2 zip
|
|||
[collections]
|
||||
#allow_archive = bz2 zip
|
||||
/gsoc/hg = /gsoc/hg/
|
||||
/var/hg = /var/hg/
|
||||
#/var/hg = /var/hg/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env rc
|
||||
#!/bin/rc
|
||||
. 9.rc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue