This commit is contained in:
Miloslav Ciz 2022-06-29 21:10:15 +02:00
parent eca7446b98
commit 549ebc70a9

View file

@ -7,7 +7,7 @@ mkdir html
DATE=`date +"%D"` DATE=`date +"%D"`
FILELIST="filelist.html" FILELIST="filelist.html"
HEADER="<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><a href=\"main.html\">main page</a>, <a href=\"$FILELIST\">file list</a>, <a href=\"https://codeberg.org/drummyfish/less_retarded_wiki\">source</a>, last updated on $DATE<hr />" HEADER="<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><a href=\"main.html\">main page</a>, <a href=\"$FILELIST\">file list</a>, <a href=\"https://codeberg.org/drummyfish/less_retarded_wiki\">source</a>, <a href=\"lrs_wiki_full.html\">single page HTML</a>, last updated on $DATE<hr />"
FOOTER="<hr/><p>All content available under <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> (public domain). Send comments and corrections to drummyfish at disroot dot org. </p></body></html>" FOOTER="<hr/><p>All content available under <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> (public domain). Send comments and corrections to drummyfish at disroot dot org. </p></body></html>"
echo "$HEADER <ul>" > html/$FILELIST echo "$HEADER <ul>" > html/$FILELIST
@ -30,4 +30,8 @@ echo "</ul> $FOOTER" >> html/$FILELIST
cp style.css html/ cp style.css html/
./make_html_single.sh
cp ./lrs_wiki.html html/lrs_wiki_full.html
echo "done" echo "done"