List posts in a category

Overview

site.categories.*category_name* gives us an array of posts in that category:

...
<ul>
  {% for post in site.categories.books %}
    <li><a href="{{ post.url }}">{{ post.title }}</a></li>
  {% endfor %}
</ul>
...