Fix tag links, add article counts to tag and category pages
diff --git a/templates/categories.html b/templates/categories.html
index 7351088..3f298a4 100644
--- a/templates/categories.html
+++ b/templates/categories.html
@@ -6,7 +6,7 @@
   <div class="article_text">
     <ul>
       {% for category, articles in categories %}
-      <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
+      <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
       {% endfor %}
     </ul>
   </div>