Init
This commit is contained in:
19
templates/authors.html
Normal file
19
templates/authors.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user