From 21b238f8309e5590852f66162b7a1e8ef381e34b Mon Sep 17 00:00:00 2001 From: Perry Woodin Date: Mon, 8 Aug 2016 10:55:13 -0400 Subject: [PATCH] Output news posts --- index.html | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 63c2c9f..930c92b 100644 --- a/index.html +++ b/index.html @@ -146,10 +146,23 @@ description: pages.home.description
-
News
-
News
-
News
-
News
+ {% for post in site.posts limit:4 %} +
+
+
+ {% if post.image %} + + {% endif %} +
+
+

{{ post.title }}

+
+ {{ post.date | date: "%b %d, %Y" }} +

{{ post.excerpt | strip_html | truncatewords: 20 }}

+ Read More... +
+
+ {% endfor %}