title: Category templates in Jekyll
body: <p>On my site, there will be two types of posts: <code>blog</code> and <code>portfolio</code>. I want to have a page for each of these categories, displaying only posts from that category.</p>
  
  <p>What is the best way to achieve this in Jekyll? I've done some homework but I'm struggling to find a good answer.</p>