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

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

{% block metatitle %}Categories | Alex Daniels {% endblock %}
{% block ogtitle %}Categories | Alex Daniels {% endblock %}
{% block twittertitle %}Categories used in posts and albums{% endblock %}
{% block metadescription %}Categories used in posts and albums{% endblock %}
{% block ogdescription %}Categories used in posts and albums{% endblock %}
{% block twitterdescription %}Categories used in posts and albums{% 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 %}
