{% extends "base.html" %} {% block title %}Categories{%endblock%} {% block content %} {% import 'macros.html' as macros %}
{% for cat, articles in categories|sort %}

{{ cat }}

{% for a in articles %} {% if loop.index < 4 %} {{ macros.article_summary(a,SITEURL,False,False,disqus=DISQUS_SITENAME) }} {% elif loop.index == 4 %} See All… {% endif %} {% endfor %} {% if not loop.last %}
{% endif %} {% endfor %}
{% endblock content %}