Link to singles from stats pages
This commit is contained in:
parent
a5adb44c0d
commit
2531fb0750
2 changed files with 5 additions and 3 deletions
1
build.sh
1
build.sh
|
@ -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…
Add table
Add a link
Reference in a new issue