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/section/article.html | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/layouts/section/article.html b/layouts/section/article.html
index eb651f2..09446ee 100644
--- a/layouts/section/article.html
+++ b/layouts/section/article.html
@@ -1,13 +1,11 @@
{{ define "main" }}
<article class="pa3 pa4-ns nested-copy-line-height nested-img">
-
<div class="{{ .Site.Params.copyClass }}">
{{ .Content }}
</div>
-
{{ $section := .Paginate (where .Data.Pages "Section" .Section) }}
<section class="flex-ns flex-wrap justify-around mt5">
- {{ range sort $section.Pages "Date" "desc" }}
+ {{ range $section.Pages }}
{{ .Render "summary" }}
{{ end }}
</section>
--
Gitblit v1.10.0