tags.html 718 B

12345678910111213141516171819202122232425262728293031323334
  1. {% extends "base.html" %}
  2. {% block title %}
  3. All Tags - {{ super() }}
  4. {% endblock title %}
  5. {% block content %}
  6. <div class="row-fluid">
  7. <header class="page_header span7 offset3">
  8. <h1>All Tags</h1>
  9. </header>
  10. </div>
  11. <div class="row-fluid">
  12. <div class="span7 offset3">
  13. <ul>
  14. {% for tag, articles in tags %}
  15. <li>
  16. {% set num = articles|count %}
  17. {{ num }}
  18. {% if num > 1 %}
  19. articles are
  20. {% else %}
  21. article is
  22. {% endif %}
  23. tagged <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
  24. </li>
  25. {% endfor %}
  26. </ul>
  27. </div>
  28. </div>
  29. {% endblock content %}