May 11 - 2015 at 15h
one tiny update on bake

Now bake orders the blog posts by update time, as it should.

The Story Behind

First, I assumed that readdir() should order them already, but I soon dicovered that this was not the case. Then, I went to order then by myself. I was going to order them by creation time... but... *nix has no creation time stored anywhere.

It got me thinking and soon I realized: of couse I shouldn't order by creation time! When I post an update post, it's obvious that it should go up and stay there, makes much more sense. Thing is, this is one of that things most people do wrong (e.g.: most blog systems do not change order when a post is updated) but you didn't realize it until something makes you think about it.

Enjoy the latest post on top!