Add type "post" to all the posts and filter main page based on that

This is way better than using a filter based on the post path, which
should contain _posts in those cases (but actually I do not want to make
that mandatory). This is made to resolve the quick-and-dirty fix
introduced by commit c6409bf.