From 6053603c4d00b0cd87bc7c8e2707111e23ca4760 Mon Sep 17 00:00:00 2001
From: Luca Beltrame <lbeltrame@kde.org>
Date: Sun, 10 May 2015 00:24:53 +0200
Subject: [PATCH] Categories index

---
 categories/index.html | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 categories/index.html

diff --git a/categories/index.html b/categories/index.html
new file mode 100644
index 0000000..a8de1ff
--- /dev/null
+++ b/categories/index.html
@@ -0,0 +1,28 @@
+---
+title: "Archive by category"
+layout: default
+permalink: categories/
+breadcrumb: true
+---
+
+<div id="blog-index" class="row">
+	<div class="small-12 columns t30">
+		<h1>{{ page.title }}</h1>
+		{% if page.teaser %}<p class="teaser">{{ page.teaser }}</p>{% endif %}
+
+		<dl class="accordion" data-accordion>
+			{% for category in site.categories %}>
+                           {% categorylink category[0] %}<strong>
+                            {% if category[0] == "kde" or category[0] == "s.t.e.a.l." %}
+                                {{ category[0] | upcase }}
+                            {% elsif category[0] contains "final fantasy" %}
+                                {{ category[0] | capitalize_all | replace:'Xi','XI' | replace:'v','V'}}
+                            {% else %}
+                                {{ category[0] | capitalize_all }}
+                            {% endif %}
+                                </strong><br><br>
+                            {% endcategorylink %}
+                    {% endfor %}
+		</dl>
+	</div><!-- /.small-12.columns -->
+</div><!-- /.row -->
\ No newline at end of file