diff --git a/make_html.sh b/make_html.sh index f86931c..f2e57f5 100755 --- a/make_html.sh +++ b/make_html.sh @@ -5,14 +5,28 @@ echo "making HTML" rm -rf html mkdir html -for f in *.md; do - f2=$(echo "html/$f" | sed "s/\.md/.html/g") +DATE=`date +"%D"` +FILELIST="filelist.html" +HEADER="LRS Wiki

less_retarded_wiki

main page, file list, last updated on $DATE
" +FOOTER="

All content available under CC0 1.0 (public domain).

" - echo "LRS Wiki

based_wiki

main page
" > $f2 +echo "$HEADER $FOOTER" >> html/$FILELIST + echo "done"