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] %}
<h3>{{ category }}</h3>
{% for post in posts %}
{% include archive-list-single %}
2016-03-07 04:08:13 +01:00
{% endfor %}
{% endfor %}