From 2dfd95729613ce84d54a3a3ddcfff8b832186213 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Sat, 15 Apr 2017 01:58:31 +0000
Subject: [PATCH] clean up
---
layouts/section/article.html | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/layouts/section/article.html b/layouts/section/article.html
index 09446ee..3acc693 100644
--- a/layouts/section/article.html
+++ b/layouts/section/article.html
@@ -1,12 +1,14 @@
{{ define "main" }}
<article class="pa3 pa4-ns nested-copy-line-height nested-img">
- <div class="{{ .Site.Params.copyClass }}">
- {{ .Content }}
- </div>
+ <main class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
+ {{ .Content }}
+ </main>
{{ $section := .Paginate (where .Data.Pages "Section" .Section) }}
<section class="flex-ns flex-wrap justify-around mt5">
{{ range $section.Pages }}
- {{ .Render "summary" }}
+ <div class="relative w-100 w-30-l mb4 bg-white">
+ {{ .Render "summary" }}
+ </div>
{{ end }}
</section>
{{ template "_internal/pagination.html" . }}
--
Gitblit v1.10.0