Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

use collections for projects

  • Loading branch information
hbillings committed May 17, 2017
1 parent 2f661db commit 17f24aabd5aff22ba5560fa2f90310756c75d583
@@ -73,3 +73,8 @@ exclude:
- CONTRIBUTING.md
- LICENSE.md
- README.md

# Project pages
collections:
projects:
output: true

This file was deleted.

@@ -1,12 +1,12 @@
{% for project in site.data.projects %}
{% for project in site.projects %}
{% unless project.featured %}
{% assign third = forloop.index | modulo: 3 %}
{% if third == 1 %}
<div class="usa-width-one-third usa-end-row project">
{% else %}
<div class="usa-width-one-third project">
{% endif %}
<a href="{{ project.link | prepend: site.baseurl }}">
<a href="{{ project.url| prepend: site.baseurl }}">
<span class="project--image" style="background-image: url({{ project.image | prepend: site.baseurl }});"></span>
<h3 class="project--description"><span>{{ project.description }}&nbsp;&gt;</span></h3>
</a>
@@ -1,6 +1,7 @@
---
layout: project
title: Microloans for Farmers
description: A new letter increases farmers' access to credit by 22%.
permalink: /projects/microloans-for-farmers/
tags: project
image: /assets/img/project-images/microloans-for-farmers.jpg
@@ -1,6 +1,7 @@
---
layout: project
title: Reducing Summer Melt
description: Eight personalized text messages to low-income students resulted in a nearly 9% increase in college enrollment.
permalink: /projects/reducing-summer-melt/
tags: project
image: /assets/img/project-images/summer-melt.jpg
@@ -1,6 +1,7 @@
---
layout: project
title: Servicemember TSP Enrollment
description: A single email to military Servicemembers nearly doubled the rate of enrollment for a savings plan.
permalink: /projects/tsp-enrollment/
tags: project
image: /assets/img/project-images/roth-tsp-enrollment.jpg

0 comments on commit 17f24aa

Please sign in to comment.
You can’t perform that action at this time.