namniart

Dec 11, 2010 - Posts by category

I managed to convince jekyll to display posts by category. I hacked at it for a while on my own, and almost kinda got somewhere, but I kept running into the issue that I don’t really understand how Liquid interprets the data structures that represent categories of posts passed in by Jekyll. I took to google and found a thread that does mostly what I was looking for, but it seemed to have a bug, so I modified it and ended up with this:

Initial version on github

And it works!

P.S. Linked to github because Liquid doesn’t have an escape sequence.

Home