Skip to content

Instantly share code, notes, and snippets.

@ootput
Created April 8, 2010 14:07
Show Gist options
  • Select an option

  • Save ootput/360100 to your computer and use it in GitHub Desktop.

Select an option

Save ootput/360100 to your computer and use it in GitHub Desktop.
{% if categorize %}
<h3><span>${ "Categories" | translate }</span></h3>
<ul id="categorize">
{% for cat in categorize %}
<li>
<a href="{% url "category/" ~ cat.clean %}">${ cat.name }</a>
<span class="sub">($cat.total)</span>
</li>
{% endfor %}
</ul>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment