{% load cache %}
{% cache 1800 sidebar %}
        <div id="col3">
          <div id="col3_content" class="clearfix">
<!-- start sidebar -->
   <!-- start categories -->
            <p><h3> Categories</h3>
            <ul>
              {% for cat in categories %}
              <p><li><a href="{{ cat.get_absolute_url }}">{{ cat }}</a></li></p>
              {% endfor %}
            </ul>
            <hr>
   <!-- start links -->
            <p><h3> Links </h3>
            <ul>
            {% for link in link_list %}
               <p><li><a href="{{ link.site_link }}">{{ link.label }}</a></li></p>
            {% endfor %}
            </ul>
            <hr></p>
   <!-- end links -->
   <!-- Start Tweet -->
            {% if tweet_it %}
            <p><h3> Recent Tweets: </h3></p>
            {% load tweet %}
            <ul>
               {% twitter_user_timeline NULL as twitter_entries %}
               {% if twitter_entries %}
                   {% for entry in twitter_entries %}
                       <p><li>{{ entry.created_at|date:"d M Y H:i" }} - {{ entry.text }}</li></p>
                   {% endfor %}
               {% endif %}
            </ul>
               <p><a href="http://www.twitter.com/{{ tweet_user }}">Follow me on Twitter</a></p>
            <hr>
            {% endif %}
   <!-- Stop Tweet -->
   <!-- start github -->
            {% if commit %}
            <h3> GitHub Commits </h3>
            {{ commit|safe }}
            <hr>
            {% endif %}
   <!-- stop github -->
   <!-- start archive -->
             {% if year_range %}
              <p><h3> Archives </p></h3>
              {% for year in year_range %}
                <p><h4>{{ year.year }}</h4></p>
                <ul>
                {% for month in month_range %}
                 {% ifequal year.year month.year %}
                  <p><li><a href="/archives/{{ year.year}}-{{ month|date:"m" }}">{{ month|date:"F" }}</a></li>
                 {% endifequal %}
                {% endfor %}
                </ul>
              {% endfor %}
             {% endif %}
   <!-- stop archive -->
   {% endcache %}            
            
