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/tags.html | |
parent | fdca509424c838b4f031c45e1a8d786c1a84fd89 (diff) | |
download | bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.tar.gz bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.zip |
create a basic theme (from bnewnet style)
Diffstat (limited to 'theme/templates/tags.html')
-rw-r--r-- | theme/templates/tags.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/theme/templates/tags.html b/theme/templates/tags.html new file mode 100644 index 0000000..b5d1482 --- /dev/null +++ b/theme/templates/tags.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} + <h1>Tags for {{ SITENAME }}</h1> + {%- for tag, articles in tags|sort %} + <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li> + {% endfor %} +{% endblock %} |