This commit is contained in:
Miloslav Ciz 2022-09-03 16:42:40 +02:00
parent f073f565fb
commit 532f5c5a20
3 changed files with 10 additions and 2 deletions

View file

@ -5,9 +5,11 @@ echo "making HTML"
rm -rf html
mkdir html
cp report.html html
DATE=`date +"%D"`
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>, <a href=\"lrs_wiki_full.html\">single page HTML</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 href=\"$FILELIST\">file list</a>, <a href=\"lrs_wiki_full.html\">single page HTML</a>, <a href="report.html">report</a>, wiki 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>"
echo "$HEADER <ul>" > html/$FILELIST

View file

@ -5,7 +5,7 @@ echo "making single HTML"
DATE=`date +"%D"`
echo "<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><p><a href=\"https://codeberg.org/drummyfish/less_retarded_wiki\">source</a>, generated on $DATE, available under <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> (public domain) </p><hr />" > lrs_wiki.html
echo "<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><p>by drummyfish, generated on $DATE, available under <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> (public domain) </p><hr />" > lrs_wiki.html
echo "$HEADER <ul>" > html/$FILELIST

6
report.html Normal file
View file

@ -0,0 +1,6 @@
<html>
<head></head>
<body>
<p>The page has been reported to the department of noonecares. Now fuck off.</p>
</body>
</html>