aboutsummaryrefslogtreecommitdiffstats
path: root/bricks/templates/categories.html
diff options
context:
space:
mode:
authormaxlambertini <m.lambertini@gmail.com>2015-10-26 15:24:34 +0100
committerJustin Mayer <entroP@gmail.com>2015-10-27 13:10:27 -0700
commit9c87d63f70970aee390ad0c8b2623b27b4d94f15 (patch)
tree2c43a8817de6c7765b3fdb61d437cb29abc17791 /bricks/templates/categories.html
parent10f51d8bb763fc6edd2ecd32c695d3529b01c93e (diff)
downloadpelican-themes-9c87d63f70970aee390ad0c8b2623b27b4d94f15.tar.gz
Add Bricks theme
Diffstat (limited to 'bricks/templates/categories.html')
-rw-r--r--bricks/templates/categories.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/bricks/templates/categories.html b/bricks/templates/categories.html
new file mode 100644
index 0000000..d5b0c83
--- /dev/null
+++ b/bricks/templates/categories.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}{{ SITENAME }} - Categories {% endblock %}
+
+
+
+{% block content %}
+ <h1>Categories for {{ SITENAME }}</h1>
+ <ul class="tag-list">
+ {%- for category, articles in categories|sort %}
+ <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
+ {% endfor %}
+ </ul>
+{% endblock %}
+
+{% block footer %}
+{% include 'credits.html' %}
+{% endblock %}