<div class="widget recent_posts box">
    <h4 class="widgettitle">categories</h4>
    <div class="tags">
        <ul class="tags">
            {% for category in categories %}
            <li><a href="/categories/#{{ category.title }}">{{ category.title }}</a></li>
            {% endfor %}
        </ul>
    </div>
</div>
