diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-08-30 21:04:39 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2017-08-30 21:10:40 -0700 |
commit | 381e40f2b9c87b6a9359f2c79cf4687064625288 (patch) | |
tree | 5542cd9ae24ac604958f09686c9b53923452d459 /theme/templates/authors.html | |
download | archive3k.org-381e40f2b9c87b6a9359f2c79cf4687064625288.tar.gz archive3k.org-381e40f2b9c87b6a9359f2c79cf4687064625288.zip |
bootstrap 3 + pelican template repo
Diffstat (limited to 'theme/templates/authors.html')
-rw-r--r-- | theme/templates/authors.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/theme/templates/authors.html b/theme/templates/authors.html new file mode 100644 index 0000000..001e11e --- /dev/null +++ b/theme/templates/authors.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} +{% block pagetitle %}Authors on {{ SITENAME }}{% endblock %} + +{% block content %} + <ul> + {%- for author, articles in authors|sort %} + <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +{% endblock %} |