Add grid archive to Portfolio index

This commit is contained in:
Michael Rose 2016-03-19 21:58:41 -04:00
parent d5ce1b2226
commit 50b6c7ca50
3 changed files with 6 additions and 7 deletions

View file

@ -2,15 +2,13 @@
layout: archive
title: "Portfolio"
permalink: /portfolio/
author_profile: false
---
{% include base_path %}
{% include group-by-array collection=site.portfolio field="categories" %}
{% for category in group_names %}
{% assign posts = group_items[forloop.index0] %}
<h2 id="{{ category | slugify }}" class="archive__subtitle">{{ category }}</h2>
{% for post in posts %}
{% include archive-single.html %}
<div class="grid__wrapper">
{% for post in site.portfolio %}
{% include archive-single.html type="grid" %}
{% endfor %}
{% endfor %}
</div>

View file

@ -3,6 +3,7 @@ title: "Foo Bar Identify"
excerpt: "Foo Bar design system including logo mark, website design, and branding applications."
header:
image: foo-bar-identity.jpg
teaser: foo-bar-identity-th.jpg
sidebar:
- title: "Role"
image: http://placehold.it/350x250

View file