From 3e49105331274943f3ace63010f637c433534ac0 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Fri, 14 Apr 2017 03:23:15 +0000
Subject: [PATCH] wip home page layout

---
 layouts/index.html |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index 26c605f..53a7bf5 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -8,9 +8,23 @@
   <div class="flex pa3 pa4-ns w-70 center">
     {{ $section := where .Data.Pages "Section" "article" }}
 
-    <section class="w-60 bg-white">
+    <section class="w-60 pa4 bg-white">
       {{ range sort (first 1 $section) "Date" "desc"  }}
-        <h1>{{ .Title }}</h1>
+      {{ if .Date }}
+        <date class="f6">
+          {{ .Date.Format "January 2, 2006" }}
+        </date>
+      {{ end }}
+      <h1 class="f3 near-black">
+        <a href="{{ .URL }}" class="link black dim">
+          {{ .Title }}
+        </a>
+      </h1>
+      <div class="nested-links f5 nested-copy-line-height">
+        <p>
+          {{ .Summary  }}
+        </p>
+      </div>
       {{ end }}
     </section>
 

--
Gitblit v1.10.0