]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/cloud.html
First iteration towards doing a tag cloud
[djsite.git] / quotes / templates / quotes / cloud.html
1 {% extends 'quotes/base.html' %}
2
3 {% block title %}All the quotes in the database{% endblock %}
4
5 {% block body %}
6
7 <ul>
8   {% for tag in cloud %}
9   <li class="tag-size-{{ tag.size }}">
10     <a href="{{ tag.get_absolute_url }}"
11        title="{{ tag.tag }}, {{ tag.num_quotes }} quotes">{{ tag.tag }}</a>: {{ tag.num_quotes }}
12   </li>
13   {% endfor %}
14 </ul>
15
16 {% endblock %}