Currently reading
\n- \n")
+ bookindex.write("\n\n \n \n \n
\n \n \n \n \n \n
\n Book tracker
\nCurrently reading
\n- \n")
for book in books:
if not book["work"]:
if len(book["progressdates"]) > 0:
@@ -1247,7 +1247,17 @@ def booksfrontpage():
bookindex.write("
+ 1 work-related book
\n") if len(thisyearbooks()) == 0 and thisyearworkbooks() == 0: bookindex.write("None yet!
\n") - bookindex.write("
Previous years (data before 2014 incomplete)
\n") + sumyear = datetime.today().year - 1 + presplit = False + while sumyear > 1993: + if len(thisyearbooks(sumyear)) > 0: + if presplit: + bookindex.write (" · ") + bookindex.write("" + str(sumyear) + " (" + str(len(thisyearbooks(sumyear)) + thisyearworkbooks(sumyear)) + ")") + presplit = True + sumyear -= 1 + bookindex.write("
\n