blog/index.md: sort to two categories

This commit is contained in:
Mikaela Suomalainen 2014-12-30 09:04:02 +02:00
parent 9fd510a1e2
commit aa07f2dbf0

View File

@ -7,8 +7,23 @@ permalink: /blog/
Some kind of version of my blog might come here and if it does, Tumblr Some kind of version of my blog might come here and if it does, Tumblr
reblogs etc. are not included. reblogs etc. are not included.
*There are no uncategorized posts here so I will notice if I forget
to put post into either category.*
## English
<ul> <ul>
{% for post in site.posts %} {% for post in site.categories.english %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
## Finnish
<ul>
{% for post in site.categories.finnish %}
<li> <li>
<a href="{{ post.url }}">{{ post.title }}</a> <a href="{{ post.url }}">{{ post.title }}</a>
</li> </li>