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

16 lines
399 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 19:06:59 +01:00
<h2 class="archive__subtitle">{{ category }}</h2>
2016-03-07 04:08:13 +01:00
{% for post in posts %}
{% include archive-list-single.html %}
2016-03-07 04:08:13 +01:00
{% endfor %}
{% endfor %}