{% load blog cache %} {% load url from future %}
{% cache 600 blog_sidebar %} {% if dates.count > 0 %}

Archive

{% endif %} {% if categories.count > 0 %}

Categories

{% endif %} {% tag_cloud %} {% endcache %}