diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
commit | 0290aee70d071b3d5db2ce14635842043763acb5 (patch) | |
tree | 42ab419e0eded665938ef9d745ffb8f5a3ac220a /theme/templates/authors.html | |
parent | fdca509424c838b4f031c45e1a8d786c1a84fd89 (diff) | |
download | bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.tar.gz bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.zip |
create a basic theme (from bnewnet style)
Diffstat (limited to 'theme/templates/authors.html')
-rw-r--r-- | theme/templates/authors.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/theme/templates/authors.html b/theme/templates/authors.html new file mode 100644 index 0000000..4914904 --- /dev/null +++ b/theme/templates/authors.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content %} + <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> +{% endblock %} |