@ -401,8 +401,12 @@ def ficgen(ficno,unique=False,output="output.html",local=False):
try:
if fileread.ao3slug:
filewrite.write("<li class=\"ao3link\"><a ")
if fileread.locked:
filewrite.write("class=\"locked\" ")
if fileread.ao3locked:
except:
filewrite.write("href=\"https://archiveofourown.org/works/" + str(fileread.ao3slug) + "\">AO3</a></li>\n")
pass
@ -35,6 +35,7 @@ location = [""]
# recipsite = "" # ao3, dw, tumblr
locked = False
ao3slug =
# ao3locked =
html = True
pdf = True
epub = True