hacks-guide-minimal-mistake.../_pages/portfolio-archive.html

16 lines
368 B
HTML
Raw Normal View History

2016-03-07 04:08:13 +01:00
---
layout: archive
title: "Portfolio"
permalink: /portfolio/
---
2016-03-07 15:51:50 +01:00
{% include base_path %}
{% include group-by-array collection=site.portfolio field='categories' %}
2016-03-07 04:08:13 +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-07 04:08:13 +01:00
{% for post in posts %}
{% include archive-list-single %}
2016-03-07 04:08:13 +01:00
{% endfor %}
{% endfor %}