From 6331805b90cf2214dfde541473cb6fecabfbd577 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Fri, 14 Apr 2017 03:01:23 +0000
Subject: [PATCH] clean up layouts

---
 layouts/_default/list.html |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 8594049..6ca0963 100755
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,17 +1,16 @@
 {{ define "main" }}
-
-  <article class="cf pa3 pa4-m pa4-l nested-copy-line-height center measure-wide-l nested-img">
-    <div class="nested-copy-line-height nested-links nested-img mid-gray ">
+  <article class="cf pa3 pa4-m pa4-l">
+    <div class="measure-wide-l center nested-copy-line-height nested-links nested-img mid-gray ">
       {{ .Content }}
     </div>
   </article>
-
-  {{ $section := .Paginate (where .Data.Pages "Section" .Section) }}
-  <section class="flex-ns flex-wrap justify-around mt5">
-    {{ range sort $section.Pages "Date" "desc"  }}
-    {{ partial "summary.html" . }}
-    {{ end }}
-  </section>
+  <div class="measure-wide-l center">
+    {{ $section := where .Data.Pages "Section" .Section }}
+    <section class="flex-ns flex-wrap justify-around mt5">
+      {{ range  $section }}
+        {{ partial "summary.html" . }}
+      {{ end }}
+    </section>
   {{ template "_internal/pagination.html" . }}
-
+  </div>
 {{ end }}

--
Gitblit v1.10.0