2016-02-25 04:18:18 +01:00
|
|
|
---
|
|
|
|
layout: archive
|
|
|
|
permalink: /category-archive/
|
|
|
|
title: "Posts by Category"
|
2016-03-07 04:07:48 +01:00
|
|
|
author_profile: false
|
2016-02-25 04:18:18 +01:00
|
|
|
---
|
2016-03-07 15:51:50 +01:00
|
|
|
|
2016-03-07 16:27:07 +01:00
|
|
|
{% include base_path %}
|
|
|
|
{% include group-by-array collection=site.posts field='categories' %}
|
2016-02-25 04:18:18 +01:00
|
|
|
|
2016-03-05 03:45:30 +01:00
|
|
|
{% for category in group_names %}
|
|
|
|
{% assign posts = group_items[forloop.index0] %}
|
2016-03-10 04:18:10 +01:00
|
|
|
<h2>{{ category }}</h2>
|
2016-03-05 03:45:30 +01:00
|
|
|
{% for post in posts %}
|
2016-03-07 16:27:07 +01:00
|
|
|
{% include archive-list-single %}
|
2016-03-05 03:45:30 +01:00
|
|
|
{% endfor %}
|
2016-02-25 04:18:18 +01:00
|
|
|
{% endfor %}
|