42 lines
No EOL
1.5 KiB
HTML
42 lines
No EOL
1.5 KiB
HTML
<aside>
|
|
<div class="panel radius">
|
|
<h3>Categories</h3>
|
|
<ul>
|
|
{% for category in site.categories %}
|
|
<li>{% categorylink category[0] %}
|
|
{% 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 | replace: 'suse', 'SUSE' }}
|
|
{% endif %}
|
|
{% endcategorylink %}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="panel radius">
|
|
<h3>Recent posts</h3>
|
|
<ul>
|
|
{% for post in site.posts limit:5 %}
|
|
<li>
|
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="panel radius">
|
|
<h3>Links</h3>
|
|
{% for link_cat in site.data.links %}
|
|
<h6>{{ link_cat.name }}</h6>
|
|
<ul>
|
|
{% for link in link_cat.links %}
|
|
<li><a href="{{ link.url }}" title="{{ link.name }}">{{ link.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
</div>
|
|
</aside> |