gremmie@1: {% extends 'weblinks/base.html' %}
bgneal@310: {% load url from future %}
gremmie@1: {% block title %}Web Links{% endblock %}
gremmie@1: {% block weblinks_content %}
gremmie@1:    <h3>Categories</h3>
gremmie@1:    {% if categories %}
gremmie@1:       <p>We have {{ total_links }} links in {{ categories.count }} categories.</p>
gremmie@1:       <dl>
gremmie@1:       {% for category in categories %}
bgneal@310:       <dt><a href="{% url 'weblinks-view_links' slug=category.slug sort="title" %}">{{ category.title }}</a>
bgneal@193:        ({{ category.count }})</dt>
gremmie@1:          <dd><p>{{ category.description }}</p></dd>
gremmie@1:       {% endfor %}
gremmie@1:       </dl>
gremmie@1:    {% endif %}
gremmie@1: {% endblock %}