Mercurial > public > sg101
comparison gpp/templates/home.html @ 159:416353def4ca
Added a new posts template tag for the home page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 20 Dec 2009 20:42:19 +0000 |
parents | e249b5f9d180 |
children | 8acf5be27f18 |
comparison
equal
deleted
inserted
replaced
158:ca7d619ee27b | 159:416353def4ca |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load bulletin_tags %} | 2 {% load bulletin_tags %} |
3 {% load news_tags %} | 3 {% load news_tags %} |
4 {% load weblinks_tags %} | 4 {% load weblinks_tags %} |
5 {% load downloads_tags %} | 5 {% load downloads_tags %} |
6 {% load forum_tags %} | |
6 {% load cache %} | 7 {% load cache %} |
7 {% block title %}Home{% endblock %} | 8 {% block title %}Home{% endblock %} |
8 {% block custom_css %} | 9 {% block custom_css %} |
9 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> | 10 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> |
10 {% endblock %} | 11 {% endblock %} |
37 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need | 38 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need |
38 lots of help for this aspect, as I'm more of a coder than a designer.</p> | 39 lots of help for this aspect, as I'm more of a coder than a designer.</p> |
39 {% cache 3600 home_bulletins %} | 40 {% cache 3600 home_bulletins %} |
40 {% current_bulletins %} | 41 {% current_bulletins %} |
41 {% endcache %} | 42 {% endcache %} |
43 {% new_posts %} | |
42 {% cache 3600 home_news %} | 44 {% cache 3600 home_news %} |
43 {% current_news %} | 45 {% current_news %} |
44 {% endcache %} | 46 {% endcache %} |
45 {% cache 3600 home_new_stuff %} | 47 {% cache 3600 home_new_stuff %} |
46 <div class="span-9 append-1"> | 48 <div class="span-9 append-1"> |