Account for local filesystem change; change wording on gateway page; add link to tei’s ficring
This commit is contained in:
parent
9d07e5d2f7
commit
9fa87b5955
7 changed files with 36 additions and 36 deletions
|
@ -165,7 +165,7 @@ 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/single/"
|
||||
ficstring += "/home/mdd/Documents/proj/fic-archive/build/single/"
|
||||
else:
|
||||
ficstring += "/fic/single/"
|
||||
try:
|
||||
|
@ -737,7 +737,7 @@ def yeargen(local=False):
|
|||
prevyear = yearlist[listposition - 1]
|
||||
filewrite.write("<span style=\"float:left;\"><a href=\"")
|
||||
if local:
|
||||
filewrite.write("/home/mdd/Documents/drive/proj/fic-archive/build/stats/" + str(prevyear) + "/index.html")
|
||||
filewrite.write("/home/mdd/Documents/proj/fic-archive/build/stats/" + str(prevyear) + "/index.html")
|
||||
else:
|
||||
filewrite.write("/fic/stats/" + str(prevyear))
|
||||
filewrite.write("\">« " + str(prevyear) + "</a></span>")
|
||||
|
@ -747,7 +747,7 @@ def yeargen(local=False):
|
|||
nextyear = yearlist[listposition + 1]
|
||||
filewrite.write("<span style=\"float:right;\"><a href=\"")
|
||||
if local:
|
||||
filewrite.write("/home/mdd/Documents/drive/proj/fic-archive/build/stats/" + str(nextyear) + "/index.html")
|
||||
filewrite.write("/home/mdd/Documents/proj/fic-archive/build/stats/" + str(nextyear) + "/index.html")
|
||||
else:
|
||||
filewrite.write("/fic/stats/" + str(nextyear))
|
||||
filewrite.write("\">" + str(nextyear) + " »</a></span>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue