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/single.html |   55 ++++++++++++++-----------------------------------------
 1 files changed, 14 insertions(+), 41 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9439017..d43dfec 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,45 +1,18 @@
 {{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
 {{ define "main" }}
-{{ $currentPageUrl := .URL }}
-{{ $currentSection := (where .Site.Pages "Section" .Section)  }}
-
-<div class="flex flex-wrap">
-  <aside class="w-2f0 bg-light-gray">
-    <ul>
-      <li class="list b mb3">
-        More {{ .Section }}
-      </li>
-      {{ range  $currentSection }}
-      <li class="list f5 w-100 hover-bg-white nl1">
-        <a href="{{ .URL }}" class="link black ph2 pv2 db">
-            {{ .Title }}
-        </a>
-      </li>
-      {{ end }}
-    </ul>
-  </aside>
-
-  <article class="center cf pv5 measure-wide-l">
-
-    <h4 class="f6">
-      {{ humanize .Section | upper  }}
-    </h4>
-    <h1>
-      {{ .Title }}
-    </h1>
-    <div class="nested-copy-line-height f4 nested-linkfs nested-img mid-gray measure-wide-l">
+  {{ $currentPageUrl := .URL }}
+  <div class="flex">
+    <article class="pv5">
+      <h4 class="f6">
+        {{ humanize .Section | upper  }}
+      </h4>
+      <h1>
+        {{ .Title }}
+      </h1>
+      <div class="nested-copy-line-height f4 nested-linkfs nested-img mid-gray measure-wide-l">
         {{ .Content  }}
-    </div>
-  </article>
-</div>
-
-357edd
-<style media="screen">
-  p a {
-    color: #2F6FC4;
-
-          /*#357edd*/
-  }
-</style>
-
+      </div>
+    </article>
+    {{ partial "menu-contextual.html" . }}
+  </div>
 {{ end }}

--
Gitblit v1.10.0