tags.html 445 B

1234567891011121314151617181920
  1. {% extends "base.html" %}
  2. {% block title %}{{ SITENAME }}{% endblock %}
  3. {% block content %}
  4. <h1>Tags</h1>
  5. <ul class="tagcloud">
  6. {% for tag in tag_cloud %}
  7. <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
  8. {% endfor %}
  9. </ul>
  10. <ul>
  11. {% for tag, articles in tags|sort %}
  12. <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
  13. {% endfor %}
  14. </ul>
  15. {% endblock %}