{% extends 'base.html.twig' %}

{% block title %}Categories | Alex Daniels{% endblock %}

{% block body %}
    <section class="categories">
        <h2>Categories</h2>
        <ul>
            {% for category in categories %}
                <li>
                    <a href="/categories/{{category['urlSafeTitle']}}">{{category['title']}} ({{category['count']}})</a>
                </li>
            {% endfor %}
        </ul>
    </section>
{% endblock %}
