 <p>On the blog page you can use:</p> <pre><code>{% for post in site.posts %} … {% endfor %} </code></pre> <p>To retrieve all posts and show them all. If you want to filter more (say, you have a third category you wouldn't want to show on this page:</p> <pre><code>{% for post in site.posts %} {% if post.categories contains 'post' or post.categories contains 'photos' %} ... {% endif %} {% endfor %} </code></pre>