Link to singles from stats pages

master
trémeur 1 year ago
parent a5adb44c0d
commit 2531fb0750

@ -5,5 +5,6 @@
python3 generate.py
touch build/comments/.gitkeep
touch build/single/.gitkeep
rclone copy build praze:/home/public/fic -P

@ -165,14 +165,15 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False):
ficstring = ""
ficstring += "<a href=\""
if local:
ficstring += "/home/mdd/Documents/drive/proj/fic-archive/build/masterlist/index.html"
ficstring += "/home/mdd/Documents/drive/proj/fic-archive/build/single/"
else:
ficstring += "/fic/masterlist"
ficstring += "#fic"
ficstring += "/fic/single/"
try:
ficstring += str(fileread.original)
except:
ficstring += ficcountstring
if local:
ficstring += "/index.html"
ficstring +="\">"
if showfandom:
ficstring += fandom

Loading…
Cancel
Save