Major update of scripts
This commit is contained in:
parent
546713b0d6
commit
9acbe935ad
2 changed files with 50 additions and 14 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
find . -name '*.md'|sed -e 's/\.md$//' -e 's,/index$,/,' -e 's,^\.,http://harmful.cat-v.org,'
|
||||
for d in sites/*/; do
|
||||
find $d -name '*.md'|sed -e 's/\.md$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue