From 95af995e96cfa2c38891124a70c11fa5da92f61e Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Mon, 17 Apr 2017 23:02:51 +0000
Subject: [PATCH] remove p tags from .Summary

---
 layouts/post/summary-with-image.html     |    4 ++--
 layouts/partials/summary-with-image.html |    4 ++--
 layouts/post/summary.html                |    6 ++----
 layouts/partials/summary.html            |    6 ++----
 4 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/layouts/partials/summary-with-image.html b/layouts/partials/summary-with-image.html
index 2831ae1..d72cb35 100644
--- a/layouts/partials/summary-with-image.html
+++ b/layouts/partials/summary-with-image.html
@@ -8,9 +8,9 @@
       {{ end }}
       <div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">
         <h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1>
-        <p class="f6 f5-l lh-copy">
+        <div class="f6 f5-l lh-copy nested-copy-line-height">
           {{ .Summary }}
-        </p>
+        </div>
         {{/* TODO: add author
         <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
       </div>
diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html
index 9c808aa..da2120e 100644
--- a/layouts/partials/summary.html
+++ b/layouts/partials/summary.html
@@ -5,10 +5,8 @@
         {{ .Title }}
       </a>
     </h1>
-    <div class="nested-links f5 nested-copy-line-height">
-      <p>
-        {{ .Summary  }}
-      </p>
+    <div class="nested-links f5 lh-copy nested-copy-line-height">      
+      {{ .Summary  }}
     </div>
   </div>
 </div>
diff --git a/layouts/post/summary-with-image.html b/layouts/post/summary-with-image.html
index 2831ae1..d72cb35 100644
--- a/layouts/post/summary-with-image.html
+++ b/layouts/post/summary-with-image.html
@@ -8,9 +8,9 @@
       {{ end }}
       <div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">
         <h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1>
-        <p class="f6 f5-l lh-copy">
+        <div class="f6 f5-l lh-copy nested-copy-line-height">
           {{ .Summary }}
-        </p>
+        </div>
         {{/* TODO: add author
         <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
       </div>
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index e60ef18..2608540 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -9,9 +9,7 @@
         {{ .Title }}
       </a>
     </h1>
-    <div class="nested-links f5 nested-copy-line-height">
-      <p>
-        {{ .Summary  }}
-      </p>
+    <div class="nested-links f5 lh-copy nested-copy-line-height">
+      {{ .Summary  }}
     </div>
   </div>

--
Gitblit v1.10.0