import os import headerfooter def indexgen(local=False): # delete existing file if os.path.exists("build/index.html"): os.remove("build/index.html") # write header headerfooter.headerwrite("build/index.html","Tré’s fic archive","Tré’s fic archive","",True,local) filewrite = open("build/index.html", "a") filewrite.write("

Here is all my fanfiction! It’s also archived at AO3 under the name \"[archiveofourown.orgovely.

\n

Warning: some of my fanfiction is NSFW (ranging from slightly obscene language to explicit sex scenes), some is RPF, and some of it contains mature or potentially objectionable themes (death, suicide, mental illness, incest …). Ratings and warnings are given accordingly, don’t like don’t read. If you happen to be under 18, kindly gtfo and read some real literature instead. Honestly, it will be much more edifying.

\n

I’ve recently implemented comments – read about that here.

\n

You can also subscribe to the RSS feed to be notified of new fics and updates to existing ones.

\n
\n

Masterlist

\n

Every fic I’ve ever written since the age of five, sorted newest to oldest.

\n
\n
\n

Final Fantasy

\n

Most of the fics I write are in FF fandoms these days. You can browse them:

\n\n
\n
\n

Events

\n

I’ve been participating in fandom exchanges and other events since late 2020. Most fics I write these days that aren’t in FF fandoms are in this category (although a lot of the FF ones are as well).

\n
") filewrite.close() headerfooter.footerwrite("build/index.html",True,local) if __name__ == "__main__": indexgen()