diff --git a/build/archive.css b/build/archive.css index a6cc133..79674d3 100644 --- a/build/archive.css +++ b/build/archive.css @@ -135,12 +135,19 @@ div.fic h1 span.ficnoprelim { font-size: 0.6em; } -div.fic h1 span.abandoned { +div.fic h1 span.abandoned, div.fic h1 span.incomplete { font-weight: normal; - background-color: #9c0000; color: white; } +div.fic h1 span.abandoned { + background-color: #9c0000; +} + +div.fic h1 span.incomplete { + background-color: #8ab60b; +} + div.fic ul.ficlinks li, div.fic ul.ficmeta li { list-style: none; } diff --git a/commentpage.py b/commentpage.py index eccb595..0be603a 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: @@ -74,7 +74,7 @@ def commentpage(ficno,directory,local=False): pass try: if fileread.comments: - filewrite.write("If you left one of these comments and would like it to be removed from the archive, please email me.
\nMy replies are included only if they were originally posted on this site.
\n") + filewrite.write("I often delete copies of my fics syndicated to other websites, so I archive comments here as a way of preserving them. If you left one of these comments and would like it to be removed from the archive, please email me.
\nMy replies are included only if they were originally posted on this site.
\n") for comment in fileread.comments: filewrite.write("
") if comment["site"] == "dw": @@ -119,7 +119,7 @@ def commentpage(ficno,directory,local=False): except: pass if fffandom or timeelapsed.days < 730: - filewrite.write("\n") + filewrite.write("\n") filewrite.close() headerfooter.footerwrite(commentspath + "/index.html",False,local) @@ -162,7 +162,7 @@ def commentindex(local=False): # write header headerfooter.headerwrite("build/comments/index.html","Comments","Comments","",False,local) filewrite = open("build/comments/index.html", "a") - filewrite.write("
Comments I receive are archived on this site and linked back to the original. If you don’t want your comments from other sources archived here, or if you require any changes to the presentation of your comments, please email me. Please note, however, that this website is not indexed by search engines and I don’t “advertise” it on mainstream social media.
\nYou can leave comments on the relevant comment pages for each fic (where this is enabled). If you’d like notification of any reply, please leave your email address. If you’d like a link from your pseudonym to a website, you can supply this as well. I’ll happily link to personal websites, Dreamwidth profiles, and (at least for now) AO3 profiles; I’m unlikely to include links to for-profit social media websites, Carrd, or Patreon.
\nComments are turned off on any fic over two years old unless it’s in a Final Fantasy fandom.
\n") + filewrite.write("I tend to temporarily syndicate my fics to other websites and then delete them, so comments I receive are archived on this site and linked back to the original. If you don’t want your comments from other sources archived here, or if you require any changes to the presentation of your comments, please email me. Please note, however, that this website is not indexed by search engines.
\nIf you haven’t switched off JavaScript, you can leave comments on the relevant comment pages for each fic (where this is enabled). Please leave your email address if you’d like notification of any reply. If you’d like a link from your pseudonym to a website, you can supply this as well, although I reserve the right not to link to certain advertising/tracker-heavy websites.
\nComments are turned off on some older fics.
\n") filewrite.close() headerfooter.footerwrite("build/comments/index.html",False,local) diff --git a/events.py b/events.py index 1c8b821..bb948b2 100644 --- a/events.py +++ b/events.py @@ -86,11 +86,11 @@ def eventlist(local=False): position += 1 eventlocation = (eventlist[position])["location"] if eventlocation == "dwjournal": - filewrite.write("" + headerone + "
\n" + desc + "\n") @@ -39,5 +39,5 @@ def footerwrite(output,main=False,local=False): footer.write("/home/mdd/Documents/proj/fic-archive/build/") else: footer.write("/fic/") - footer.write("verify/index.html?returnto=${window.location}`; }\n\n\n