diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2011-02-01 19:42:53 +0000 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-02-01 19:42:53 +0000 |
commit | 92808823a34cabb29b85ae2550e83ef39fc132a6 (patch) | |
tree | b8f3b21125e8279e0b279554ba4d5e0e0fc0a3c2 /waterspill/templates/categories.html | |
parent | 9896db2d95ec58883d1adc41a2a29408260a4ed0 (diff) | |
download | pelican-themes-92808823a34cabb29b85ae2550e83ef39fc132a6.tar.gz |
Add the waterspill theme, thanks to Freeculture.
Diffstat (limited to 'waterspill/templates/categories.html')
-rw-r--r-- | waterspill/templates/categories.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/waterspill/templates/categories.html b/waterspill/templates/categories.html new file mode 100644 index 0000000..b32f5cb --- /dev/null +++ b/waterspill/templates/categories.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block content %} + +<div class="blogItem"> + {% if articles %} + {% for article in articles %} + {% if loop.index == 1 %} + <ul> + {% for category, articles in categories %} + <li>{{ category }}</li> + {% endfor %} + </ul> + {% endif %} + {% endfor %} + {% endif %} + </div> + +{% endblock %} |