From ca7c03bae5b41968c9767e08566c3b3b846bbac8 Mon Sep 17 00:00:00 2001
From: Tim Van Baak
Date: Sun, 21 Oct 2018 18:08:20 -0700
Subject: [PATCH] Add total word count to stats page
---
src/build.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/build.py b/src/build.py
index f49f8d6..f5abcaa 100644
--- a/src/build.py
+++ b/src/build.py
@@ -206,6 +206,10 @@ def build_statistics_page(articles, config):
content += "
\n"
content += "\n"
+ content += "\n"
+ content += "
Total word count:
\n"
+ content += str(sum(article_length.values())) + "
"
+
# Player pageranks
content += "
\n"
content += "
Player total page rank:
\n"