Try to sanitize the category output
This commit is contained in:
parent
de779761c6
commit
00666f41d6
1 changed files with 15 additions and 15 deletions
|
@ -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 -->
|
||||||
|
|
Reference in a new issue