diff --git a/README.org b/README.org index b26fac6..5f9f196 100644 --- a/README.org +++ b/README.org @@ -20,8 +20,8 @@ Requisites: =rclone= (just for uploading files to the server), Python 3. - all my fics are (currently) on AO3, most have HTML versions, newer ones also have EPUB and PDF versions - I have weird rules about comments and sometimes turn them off after a certain period -** Future plans +** Future plans [1/3] -- redirect to a consent page using local storage -- pages for times and locations in FF fandoms -- possibly a page for non-FF fandoms (as if I even care about these lol) +- [X] redirect to a consent page using local storage (h/t [[https://www.fancoders.com/][Fandom Coders]]) +- [ ] pages for times and locations in FF fandoms +- [ ] possibly a page for non-FF fandoms (as if I even care about these lol) diff --git a/build/verify/.gitkeep b/build/verify/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/commentpage.py b/commentpage.py index 5b9a49c..ae42a43 100644 --- a/commentpage.py +++ b/commentpage.py @@ -65,7 +65,7 @@ def commentpage(ficno,directory,local=False): headerfooter.headerwrite(commentspath + "/index.html","Comments for fic no. " + ficnostring,"Comments for fic no. " + ficnostring + "","",False,local) filewrite = open(commentspath + "/index.html", "a") if fffandom or timeelapsed.days < 730: - filewrite.write("
Comments will be posted manually; please expect a delay between submitting your comment and seeing it below!
\n\n") + filewrite.write("Comments will be posted manually; please expect a delay between submitting your comment and seeing it below!
\n\n") else: try: if fileread.event == "ao3exchange" and (fileread.datewords[0])["date"].year > 2019: diff --git a/generate.py b/generate.py index b92482b..672d644 100644 --- a/generate.py +++ b/generate.py @@ -7,6 +7,7 @@ import characters import ships import events import indexgen +import verifygen try: if sys.argv[1] == "local": @@ -26,6 +27,7 @@ if __name__ == "__main__": ships.shiplist(True) events.eventlist(True) indexgen.indexgen(True) + verifygen.verifygen(True) else: masterlist.listgen() commentpage.allcomments() @@ -34,3 +36,4 @@ if __name__ == "__main__": ships.shiplist() events.eventlist() indexgen.indexgen() + verifygen.verifygen() diff --git a/headerfooter.py b/headerfooter.py index a3c0b4b..5c3835b 100644 --- a/headerfooter.py +++ b/headerfooter.py @@ -5,7 +5,7 @@ def headerwrite(output,title,headerone,desc,main=False,local=False): header.write("/home/mdd/Documents/drive/proj/fic-archive/build/") else: header.write("/fic/") - header.write("archive.css\">\n\n\n\n\n\n\n