Refine ficwip inclusion

This commit is contained in:
mez 2024-10-22 12:32:32 +01:00
parent 6453435410
commit fafbbc80f5
2 changed files with 6 additions and 1 deletions

View file

@ -510,7 +510,10 @@ def ficgen(ficno,unique=False,output="output.html",local=False,single=False):
elif fileread.eventname == "robotsoup":
filewrite.write("Written for <span style=\"white-space: nowrap;\" class=\"ljuser\"><a href=\"https://kalloway.dreamwidth.org/profile\"><img src=\"https://www.dreamwidth.org/img/silk/identity/user.png\" alt=\"[personal profile]\" width=\"17\" height=\"17\" style=\"vertical-align: text-bottom; border: 0; padding-right: 1px;\"></a><a href=\"https://kalloway.dreamwidth.org/\"><b>kalloway</b></a></span>s " + fileread.eventdeets + " fest.")
elif fileread.eventname == "#ficwip":
filewrite.write("Written for the #ficwip event <i>" + fileread.eventdeets + "</i>.")
filewrite.write("Written for the <a href=\"https://ficwip.carrd.co\">#ficwip</a> event <i>" + fileread.eventdeets + "</i>")
if fileread.event == "prompt":
filewrite.write(", in response to prompt, <i>" + fileread.prompt + "</i>")
filewrite.write(".")
try:
if fileread.notes:
filewrite.write(" ")