Update
This commit is contained in:
parent
13b65cd657
commit
33cfe90482
9 changed files with 93 additions and 23 deletions
|
@ -9,11 +9,13 @@ rm -rf html
|
|||
mkdir html
|
||||
|
||||
cp report.html html
|
||||
cp pimp_my_lrs.html html
|
||||
cp *.css html
|
||||
|
||||
DATE=`date +"%D"`
|
||||
FILECOUNT=`ls *.md | wc -l`
|
||||
FILELIST="wiki_pages"
|
||||
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 class=\"notdead\" href=\"$FILELIST.html\">file list ($FILECOUNT)</a>, <a class=\"notdead\" href=\"https://git.coom.tech/drummyfish/less_retarded_wiki/archive/master.zip\">source</a>, <a class=\"notdead\" href=\"report.html\">report</a>, <a class=\"notdead\" href=\"wiki_stats.html\">stats</a>, wiki 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 class=\"notdead\" href=\"$FILELIST.html\">file list ($FILECOUNT)</a>, <a class=\"notdead\" href=\"https://git.coom.tech/drummyfish/less_retarded_wiki/archive/master.zip\">source</a>, <a class=\"notdead\" href=\"report.html\">report abuse</a>, <a class=\"notdead\" href=\"wiki_stats.html\">stats</a>, <a class=\"notdead\" id=\"fancylink\" href=\"pimp_my_lrs.html?p=main.html&s=style_fancy.css\">consoomer version</a>, wiki last updated on $DATE<hr />"
|
||||
FOOTER="<hr/><p>All content available under <a class=\"notdead\" 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>"
|
||||
|
||||
printf "# Wiki Files\n\nThis is an autogenerated page listing all pages.\n\n" > $FILELIST.md
|
||||
|
@ -56,8 +58,6 @@ echo "$HEADER<a href="main.html">Go to main page.</a>$FOOTER" >> html/index.html
|
|||
|
||||
echo "</ul> $FOOTER" >> html/$FILELIST
|
||||
|
||||
cp style.css html/
|
||||
|
||||
./make_html_single.sh
|
||||
|
||||
cp ./lrs_wiki.html html/lrs_wiki_full.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue