From 53df85690d0a8df316d2129353aa9d83159e8bb2 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Fri, 14 Apr 2017 16:37:12 +0000
Subject: [PATCH] wip clean up and annotations
---
layouts/index.html | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 53a7bf5..d0b326a 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,10 +2,15 @@
<main class="cf ph3 ph5-l pv3 pv4-l f4 tc center measure-wide lh-copy mid-gray">
{{ .Content }}
+
</main>
- <div class="flex pa3 pa4-ns w-70 center">
+ <div class="pa3 pa4-ns w-70 center">
+
+ <h1 class="flex-none db">Recent Articles</h1>
+
+ <div class="flex">
{{ $section := where .Data.Pages "Section" "article" }}
<section class="w-60 pa4 bg-white">
@@ -15,11 +20,11 @@
{{ .Date.Format "January 2, 2006" }}
</date>
{{ end }}
- <h1 class="f3 near-black">
+ <h2 class="f3 near-black">
<a href="{{ .URL }}" class="link black dim">
{{ .Title }}
</a>
- </h1>
+ </h2>
<div class="nested-links f5 nested-copy-line-height">
<p>
{{ .Summary }}
@@ -29,13 +34,18 @@
</section>
<section class="w-30 ph4">
- {{ range sort (first 2 (after 1 $section)) "Date" "desc" }}
- <h2 class="f4">{{ .Title }}</h2>
- {{ end }}
+ {{ range sort (first 4 (after 1 $section)) "Date" "desc" }}
+ <h2 class="f5 fw4 mb4">
+ <a href="{{ .URL }}" class="link black dim">
+ {{ .Title }}
+ </a>
+ </h2>
+ {{ end }}
</section>
</div>
+ </div>
--
Gitblit v1.10.0