Categories index
This commit is contained in:
parent
cc690dbbe1
commit
6053603c4d
1 changed files with 28 additions and 0 deletions
28
categories/index.html
Normal file
28
categories/index.html
Normal file
|
@ -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 -->
|
Reference in a new issue