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/_default/single.html | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index fe90663..9f7d553 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,19 +1,18 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
- {{ $currentPageUrl := .URL }}
- <div class="flex mt5 mw8 center">
- <article class="pv5">
- <h4 class="f6">
+ <div class="flex-l mt2 mw8 center">
+ <article class="center cf pv5 ph3 ph4-ns mw7">
+ <p class="f6 b helvetica tracked">
{{ humanize .Section | upper }}
- </h4>
- <h1>
+ </p>
+ <h1 class="f1">
{{ .Title }}
</h1>
- <div class="nested-copy-line-height f4 nested-linkfs nested-img mid-gray measure-wide-l">
- {{ .Content }}
- </div>
+ <section class="nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray">
+ {{ .Content | markdownify }}
+ </section>
</article>
- <div class="ph4 mt6">
+ <div class="ph3 mt2 mt6-ns">
{{ partial "menu-contextual.html" . }}
</div>
</div>
--
Gitblit v1.10.0