1
0
Fork 0

Try to sanitize the category output

This commit is contained in:
Luca Beltrame 2015-05-24 16:40:55 +02:00
parent de779761c6
commit 00666f41d6

View file

@ -10,10 +10,9 @@ header:
<div id="blog-index" class="row"> <div id="blog-index" class="row">
<div class="small-12 columns t30"> <div class="small-12 columns t30">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% if page.teaser %}<p class="teaser">{{ page.teaser }}</p>{% endif %} <ul class="side-nav">
{% for category in site.categories %}
<dl class="accordion" data-accordion> <li>
{% for category in site.categories %}>
{% categorylink category[0] %}<strong> {% categorylink category[0] %}<strong>
{% if category[0] == "kde" or category[0] == "s.t.e.a.l." %} {% if category[0] == "kde" or category[0] == "s.t.e.a.l." %}
{{ category[0] | upcase }} {{ category[0] | upcase }}
@ -22,8 +21,9 @@ header:
{% else %} {% else %}
{{ category[0] | capitalize_all }} {{ category[0] | capitalize_all }}
{% endif %} {% endif %}
</strong><br><br> </strong>
{% endcategorylink %} {% endcategorylink %}
</li>
{% endfor %} {% endfor %}
</dl> </dl>
</div><!-- /.small-12.columns --> </div><!-- /.small-12.columns -->