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 layout: archive
title: "Portfolio" title: "Portfolio"
permalink: /portfolio/ permalink: /portfolio/
author_profile: false
--- ---
{% include base_path %} {% include base_path %}
{% include group-by-array collection=site.portfolio field="categories" %}
{% for category in group_names %} <div class="grid__wrapper">
{% assign posts = group_items[forloop.index0] %} {% for post in site.portfolio %}
<h2 id="{{ category | slugify }}" class="archive__subtitle">{{ category }}</h2> {% include archive-single.html type="grid" %}
{% for post in posts %}
{% include archive-single.html %}
{% endfor %} {% 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." excerpt: "Foo Bar design system including logo mark, website design, and branding applications."
header: header:
image: foo-bar-identity.jpg image: foo-bar-identity.jpg
teaser: foo-bar-identity-th.jpg
sidebar: sidebar:
- title: "Role" - title: "Role"
image: http://placehold.it/350x250 image: http://placehold.it/350x250

View file