Here's a list of posts
-
{% for post in site.posts %}
-
{{ post.title }}
</li>
{% endfor %}
{% for post in site.categories[page.tag] %}
{% include post_preview.html %}
{% endfor %}
{% for category in site.categories %}
{% capture category_name %}{{ category | first }}{% endcapture %}
{% endfor %}
<h3 class="category-head">{{ category_name }}</h3>
<a name="{{ category_name | slugize }}"></a>
{% for post in site.categories[category_name] %}
<article>
<h4><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h4>
</article>
{% endfor %}