From 543f6b5590f564e9095c8d7b390730d09fdbe1f2 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Wed, 30 Apr 2014 20:18:33 -0400 Subject: Add writing/project differentiation and fix class --- projects/index.html | 8 ++++++-- writing/index.html | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/projects/index.html b/projects/index.html index ce0ce1c..736558d 100644 --- a/projects/index.html +++ b/projects/index.html @@ -5,6 +5,10 @@ description: Projects I’ve done. --- {% for post in site.posts %} -

{{ post.title }}

-

{{ post.description }}

+ {% if post.type == "project" %} +
+

{{ post.title }}

+

{{ post.description }}

+
+ {% endif %} {% endfor %} diff --git a/writing/index.html b/writing/index.html index ec58a49..43de7f5 100644 --- a/writing/index.html +++ b/writing/index.html @@ -5,6 +5,10 @@ description: A small collection of writing I’ve done on various topics over th --- {% for post in site.posts %} -

{{ post.title }}

-

{{ post.description }}

+ {% if post.type == "writing" %} +
+

{{ post.title }}

+

{{ post.description }}

+
+ {% endif %} {% endfor %} -- cgit v1.2.3