Add total word count to stats page

This commit is contained in:
Tim Van Baak 2018-10-21 18:08:20 -07:00
parent 31d2f83609
commit ca7c03bae5
1 changed files with 4 additions and 0 deletions

View File

@ -206,6 +206,10 @@ def build_statistics_page(articles, config):
content += "</p>\n" content += "</p>\n"
content += "</div>\n" content += "</div>\n"
content += "<div class=\"moveable\">\n"
content += "<p><u>Total word count:</u><br>\n"
content += str(sum(article_length.values())) + "</p>"
# Player pageranks # Player pageranks
content += "<div class=\"moveable\">\n" content += "<div class=\"moveable\">\n"
content += "<p><u>Player total page rank:</u><br>\n" content += "<p><u>Player total page rank:</u><br>\n"