Mercurial > public > sg101
comparison gpp/templates/base.html @ 43:2763977301c2
Added support for caching. The avatar template tag now uses the cache.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 14 Jun 2009 20:25:22 +0000 |
parents | 48b221d304c6 |
children | 02e5dfa830cc |
comparison
equal
deleted
inserted
replaced
42:48b221d304c6 | 43:2763977301c2 |
---|---|
5 {% load shoutbox_tags %} | 5 {% load shoutbox_tags %} |
6 {% load irc_tags %} | 6 {% load irc_tags %} |
7 {% load potd_tags %} | 7 {% load potd_tags %} |
8 {% load messages_tags %} | 8 {% load messages_tags %} |
9 {% load script_tags %} | 9 {% load script_tags %} |
10 {% load cache %} | |
10 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title> | 11 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title> |
11 <meta http-equiv="Content-Type" content="text/html" /> | 12 <meta http-equiv="Content-Type" content="text/html" /> |
12 <meta http-equiv="Content-Language" content="en-US" /> | 13 <meta http-equiv="Content-Language" content="en-US" /> |
13 <meta name="robots" content="all" /> | 14 <meta name="robots" content="all" /> |
14 <meta name="Author" content="Brian Neal" /> | 15 <meta name="Author" content="Brian Neal" /> |
61 <li><a href="{% url polls-main %}">Polls</a></li> | 62 <li><a href="{% url polls-main %}">Polls</a></li> |
62 <li><a href="{% url potd-view %}">Photo of the Day</a></li> | 63 <li><a href="{% url potd-view %}">Photo of the Day</a></li> |
63 <li><a href="{% url weblinks-main %}">Links</a></li> | 64 <li><a href="{% url weblinks-main %}">Links</a></li> |
64 <li><a href="{% url downloads-index %}">Downloads</a></li> | 65 <li><a href="{% url downloads-index %}">Downloads</a></li> |
65 </ul> | 66 </ul> |
66 {% photo_of_the_day %} | 67 {% cache 300 potd_block %} |
68 {% photo_of_the_day %} | |
69 {% endcache %} | |
67 {% shoutbox %} | 70 {% shoutbox %} |
68 {% irc_status %} | 71 {% irc_status %} |
69 </div> | 72 </div> |
70 | 73 |
71 <div id="content-primary" class="span-19 last"> | 74 <div id="content-primary" class="span-19 last"> |