diff options
Diffstat (limited to 'photowall/templates/authors.html')
-rw-r--r-- | photowall/templates/authors.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/photowall/templates/authors.html b/photowall/templates/authors.html new file mode 100644 index 0000000..e61a332 --- /dev/null +++ b/photowall/templates/authors.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content %} + +<section id="content" class="body"> + <h1>Authors on {{ SITENAME }}</h1> + <ul> + {% for author, articles in authors|sort %} + <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +</section> + +{% endblock %} |