diff options
Diffstat (limited to 'theme/cccevents/templates/authors.html')
| -rw-r--r-- | theme/cccevents/templates/authors.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/theme/cccevents/templates/authors.html b/theme/cccevents/templates/authors.html new file mode 100644 index 0000000..93aba52 --- /dev/null +++ b/theme/cccevents/templates/authors.html | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | {% extends "base.html" %} | ||
| 2 | |||
| 3 | {% block title %}{{ SITENAME }} - Authors{% endblock %} | ||
| 4 | |||
| 5 | {% block content_title %} | ||
| 6 | <h1>Authors on {{ SITENAME }}</h1> | ||
| 7 | {% endblock %} | ||
| 8 | |||
| 9 | {% block content %} | ||
| 10 | <ul> | ||
| 11 | {% for author, articles in authors|sort %} | ||
| 12 | <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> | ||
| 13 | {% endfor %} | ||
| 14 | </ul> | ||
| 15 | {% endblock %} | ||
