{% extends "base.html" %}

{% block title %}{{ _('Authors') }} - {{ SITENAME }}{% endblock %}

{% block breadcrumbs %}
    {% if DISPLAY_BREADCRUMBS %}
        <ol class="breadcrumb">
            <li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
            <li class="active">{{ _('Authors') }}</li>
        </ol>
    {% endif %}
{% endblock %}

{% block content %}
  <h2>{{ _('Authors on') }} {{ SITENAME }}</h2>
    {% for author, articles in authors|sort %}
        <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
    {% endfor %}
{% endblock %}
