summary refs log tree commit diff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/word_count.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/word_count.html b/_includes/word_count.html
new file mode 100644
index 0000000..8cc1cf1
--- /dev/null
+++ b/_includes/word_count.html
@@ -0,0 +1 @@
+{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}{% assign count = count | plus: single_count %}{% endfor %}{{ count }}
\ No newline at end of file