categories.html 560 B

12345678910111213141516171819202122232425
  1. {% extends "base.html" %}
  2. {% block title %}
  3. All Categories - {{ super() }}
  4. {% endblock title %}
  5. {% block content %}
  6. <div class="row-fluid">
  7. <header class="page_header span7 offset3">
  8. <h1>All Categories</h1>
  9. </header>
  10. </div>
  11. <div class="row-fluid">
  12. <div class="span7 offset3">
  13. <ul>
  14. {% for category, articles in categories %}
  15. <li>{{ articles|count }} articles in <a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
  16. {% endfor %}
  17. </ul>
  18. </div>
  19. </div>
  20. {% endblock content %}