hacks-guide-minimal-mistake.../_pages/portfolio-archive.html
2016-03-10 21:13:01 -05:00

16 lines
No EOL
399 B
HTML

---
layout: archive
title: "Portfolio"
permalink: /portfolio/
---
{% include base_path %}
{% include group-by-array collection=site.portfolio field='categories' %}
{% for category in group_names %}
{% assign posts = group_items[forloop.index0] %}
<h2 class="archive__subtitle">{{ category }}</h2>
{% for post in posts %}
{% include archive-list-single.html %}
{% endfor %}
{% endfor %}