From 7483b2b03478495ea1961192fb580b969173d1ed Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sat, 1 Jun 2013 14:05:58 -0400 Subject: [PATCH] Use correct descriptions for recent posts on home. Fixes #3 --- _layouts/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index cfe1c6d4..bdced321 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -32,7 +32,7 @@ {% for post in site.categories.articles limit:5 %}

{{ post.title }}

-

{% if page.description %}{{ page.description }}{% else %}{{ page.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

+

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

{% endfor %}