From 024149537abc7a0a523bdba9196e78c343264208 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 4 May 2018 13:19:21 -0400 Subject: [PATCH] Experimenting with a news widget --- _layouts/main.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/_layouts/main.html b/_layouts/main.html index f057960b..16e1a996 100644 --- a/_layouts/main.html +++ b/_layouts/main.html @@ -63,6 +63,27 @@
+
+ {% for post in site.posts limit:3 %} + [{{ post.title }}](./{{ post.url }}) +
+ {{post.date | date: "%b %d %Y" }} +
+ {{ post.excerpt }} +
+ {% endfor %} +
{{ content }}