comment counter links!
[Ultimately_Untrue_Thought.git] / theme / templates / index.html
index 4095ae9..c28077e 100644 (file)
@@ -1,6 +1,10 @@
 {% extends "base.html" %}
 {% block content_title %}{% endblock %}
 
+{% block scripts %}
+  <script src="/theme/js/comment_counts.js"></script>
+{% endblock %}
+
 {% block content %}
 
 {% for article in articles_page.object_list %}
@@ -9,6 +13,7 @@
     {% include 'metadata.inc.html' %}
     {{ article.content }}
   </article>
+  <span class="comments-link-container" data-path="/{{ article.url }}" id="{{ article.slug }}-comments-link-container"></span>
   <hr />
 {% endfor %}