aboutsummaryrefslogtreecommitdiffstats
path: root/ops/templates/categories.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2017-02-28 11:31:30 -0800
committerGitHub <noreply@github.com>2017-02-28 11:31:30 -0800
commitef412e6bd0a9e0e93bb3ae377725b41c63d49a49 (patch)
treeba7eddb71d7777e02fac7633b2cd86224b29341c /ops/templates/categories.html
parentadaa0c62ac0230ee7a168524554d9176c57a48a4 (diff)
parent1f3170df75d42d1cab8860080d0c254fb1d9355e (diff)
downloadpelican-themes-ef412e6bd0a9e0e93bb3ae377725b41c63d49a49.tar.gz
Merge pull request #496 from kosmgco/master
Rename Coding-Now theme to Ops
Diffstat (limited to 'ops/templates/categories.html')
-rw-r--r--ops/templates/categories.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/ops/templates/categories.html b/ops/templates/categories.html
new file mode 100644
index 0000000..26396bb
--- /dev/null
+++ b/ops/templates/categories.html
@@ -0,0 +1,24 @@
+{% extends 'base.html' %}
+
+{% block title %} {{ SITENAME }} - Categories {% endblock %}
+
+{% block container %}
+ <section id="content">
+ <header class="header">
+ <h2 class="blogpost-title">Categories</h2>
+ </header>
+ <dl>
+ {% for category, articles in categories %}
+ <dd>
+ <a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a>({{ articles|count }})
+ </dd>
+ {% endfor %}
+ </dl>
+ </section>
+ <br/><br/><br/>
+
+{% endblock %}
+
+{% block footer %}
+ {% include '_includes/footer.html' %}
+{% endblock %} \ No newline at end of file