diff gpp/templates/home.html @ 166:8acf5be27f18

Implement #50, add a template tag to display the latest poll and add to the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Jan 2010 20:24:01 +0000
parents 416353def4ca
children b1766b1bda45
line wrap: on
line diff
--- a/gpp/templates/home.html	Sun Jan 03 04:15:14 2010 +0000
+++ b/gpp/templates/home.html	Sun Jan 17 20:24:01 2010 +0000
@@ -3,6 +3,7 @@
 {% load news_tags %}
 {% load weblinks_tags %}
 {% load downloads_tags %}
+{% load poll_tags %}
 {% load forum_tags %}
 {% load cache %}
 {% block title %}Home{% endblock %}
@@ -45,6 +46,7 @@
    {% current_news %}
 {% endcache %}
 {% cache 3600 home_new_stuff %}
+{% latest_poll %}
 <div class="span-9 append-1">
    {% latest_weblinks %} 
 </div>