|
|
@ -257,7 +257,7 @@ def yeargen(local=False):
|
|
|
|
filewrite.write("<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Fic stats " + str(year) + "</title>\n<link rel=\"stylesheet\" href=\"")
|
|
|
|
filewrite.write("<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Fic stats " + str(year) + "</title>\n<link rel=\"stylesheet\" href=\"")
|
|
|
|
if local:
|
|
|
|
if local:
|
|
|
|
filewrite.write("https://tre.praze.net")
|
|
|
|
filewrite.write("https://tre.praze.net")
|
|
|
|
filewrite.write("/main.css\">\n<link rel=\"me\" href=\"https:/ple.praze.net/users/tre\">\n<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Fugaz+One&family=Inconsolata&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css\">\n</head>\n<body style=\"--colourone: #990909; --colourtwo: #cf6969;\">\n<div class=\"container\">\n<h1>Fic stats for " + str(year) + "</h1>\n")
|
|
|
|
filewrite.write("/main.css\">\n<link rel=\"me\" href=\"https:/ple.praze.net/users/tre\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css\">\n</head>\n<body style=\"--colourone: #990909; --colourtwo: #cf6969;\">\n<div class=\"container\">\n<h1>Fic stats for " + str(year) + "</h1>\n")
|
|
|
|
allfics = []
|
|
|
|
allfics = []
|
|
|
|
ficdeets = []
|
|
|
|
ficdeets = []
|
|
|
|
datesplit = []
|
|
|
|
datesplit = []
|
|
|
|